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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -