0

is it possible to make descriptive url from query url in struts2

example: if the url is as below

query url : http://example.com/products?category=2&pid=25

descriptive url : http://example.com/products/2/25

Please suggest me.

developer
  • 9,116
  • 29
  • 91
  • 150
  • 1
    May be this can help - http://www.progbear.com/voice/2010/struts-2-create-friendly-url-with-urlrewritefilter – Manish Sep 06 '12 at 03:53
  • 2
    Possible duplicate? http://stackoverflow.com/questions/12073951/how-to-change-url-pattern-in-struts-action/12076249#12076249 – Pigueiras Sep 06 '12 at 04:55
  • 3
    check out this http://stackoverflow.com/questions/12245373/struts2-pass-url-to-action/12248533#12248533 – Jaiwo99 Sep 06 '12 at 07:17

0 Answers0