struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wes Wannemacher <>
Subject Re: struts2 filter-mapping url-pattern
Date Wed, 02 Sep 2009 02:06:19 GMT
One thing I've been itching to try is to map to *.action and /struts/* 

Those are pretty much the two things you "need" 

Try that and see if it works. 

By the way, do you get an exception or something? The filters are supposed to 
be friendly to non-struts requests... If you're having a problem, it might be 
more interesting to address the problem than to try to get rid of the filter.


On Tuesday 01 September 2009 07:30:59 pm Arthur Neves wrote:
> I think It' s impossible to do, because all of request's must pass to the
> filter! If I'd been wrong, please, somebody correct me!
> 2009/9/1 Rusty Wright <>
> > In the web.xml why is the filter-mapping url-pattern /* ?  Would it work
> > to change it to *.action instead?
> >
> > For some reason, I can't get jetty to serve my welcome-file index.jsp
> > file and if I change the url-pattern to *.action then it starts working.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > For additional commands, e-mail:

Wes Wannemacher

Head Engineer, WanTii, Inc.
Need Training? Struts, Spring, Maven, Tomcat... 
Ask me for a quote!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message