JSP url argument passing -
is there way pass params function in way:
www.smth.com/func.jsp/1/2/3
not this:
www.smth.com/func.jsp?a=1&b=2&c3
using php define method
function func($a, $b, $c) {
...
}
of course can write
www.smth.com/func.jsp?1&2&3
not clean as
www.smth.com/func.jsp/1/2/3
thank you
you can use urlrewritefilter
this. it's similar apache's mod_rewrite.
Comments
Post a Comment