I'm afraid that you should consider to use apache mod_rewrite or something like an url rewrite filter [1]?
[1] http://www.tuckey.org/urlrewrite/ On 1 March 2011 18:24, Chris Pratt <thechrispr...@gmail.com> wrote: > It's possible you might have to play with your filter entries in web.xml > also. The container also maps by extension. > (*Chris*) > > On Tue, Mar 1, 2011 at 5:59 AM, GF <gan...@gmail.com> wrote: > >> I configured struts to handle url mapping with no extensions this way >> >> <constant name="struts.action.extension" value=",," /> >> >> With this action mapping >> <action name="*" class="myAction" method="myMethod"> >> <param name="myId">{1}</param> >> <result type="tiles">myTile</result> >> </action> >> >> I can handle urls like: >> >> /aaa/bbb/ccc >> /aaa/bbb/ddd >> /aaa/bbb/eee >> >> But i wish to handle this kind of urls too: >> >> /aaa/bbb/fff.xyz >> /aaa/bbb/fff.jkw >> /aaa/bbb/fff.anykindofextension >> >> But when i insert a DOT in the action name (mapped by a wildcard) I >> get a 404 error. >> >> >> Any idea? >> >> Thank you >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > -- Maurizio Cucchiara --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org