tjg184 / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

URL REWRITE with STRUTS2 #156

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using OCP URL Rewrite tool and Struts2 in my application. All the Struts 
Action links are working well but when I click on non-action links i.e.plain 
anchors which are being rewritten using rewrite tool, I get following error msg:

HTTP Status 500 – The Struts dispatcher cannot be found. This is usually 
caused by using Struts tags without the associated filter. Struts tags are only 
usable when the request has passed through its servlet filter, which 
initializes the Struts dispatcher needed for this tag. 

I have added my Url rewrite filter before Struts filter.

plz let me know of i am making any mistake. Also does URL REWRTING works with 
Struts2??

Thanks in advance.

Original issue reported on code.google.com by rahulson...@gmail.com on 31 Jan 2014 at 9:02