Hello,
i think that you could modify your web.xml instead. In struts filter,
you may have a wildcard to take all in struts2 filter. By modifying
web.xml, you should be able to redirect url with .html or .jsp
immediatly without using struts.
I don't have any exemple, sorry.
Regards
Sébastien
Nick J a écrit :
I am using struts2.
I don't want .action or .do on the end of the url's, so I set
struts.action.extension='' (empty string)
Now this leaves me with a bit of a problem serving static content, since
struts swallows up all of my requests, and nothing gets through to the
default servlet.
How can I set up an action to serve static content?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]