struts - url rewriting in Struts1 -


I am developing a web application using Struts1 as the Web Framework, my URL pattern in Web.xml is:

  & lt; Servlet-mapping & gt; & Lt; Servlet-name & gt; Action & lt; / Servlet-name & gt; & Lt; URL pattern & gt; * do. & Lt; / Url pattern & gt; & Lt; / Servlet-mapping & gt;   

I want to get rid of the .do pattern in the URL so if my URL is

I like it should be there. How do I retrieve this type of URL? Thanks for any help

You can use a filter before calling the process request processor , And this project is very helpful:

Comments