Re: struts2 filter-mapping url-pattern

2009-09-02 Thread Rusty Wright
rom: Peter Phillips Reply-to: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: struts2 filter-mapping url-pattern Date: Wed, 2 Sep 2009 06:57:02 +0100 Using *.action and /struts/* works fine for our projects. I wanted to do that since I wanted to map *.do to a str

Re: struts2 filter-mapping url-pattern

2009-09-02 Thread Wes Wannemacher
>> From: Peter Phillips >> Reply-to: "Struts Users Mailing List" >> To: Struts Users Mailing List >> Subject: Re: struts2 filter-mapping url-pattern >> Date: Wed, 2 Sep 2009 06:57:02 +0100 >> >> Using *.action and /struts/* works fine for our pr

Re: struts2 filter-mapping url-pattern

2009-09-02 Thread Dave Newton
Rusty Wright wrote: This struts newbie would like to know, what's the /struts/* mapping for? The static files S2 serves (CSS, JS). Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-

Re: struts2 filter-mapping url-pattern

2009-09-02 Thread Rusty Wright
ng List Subject: Re: struts2 filter-mapping url-pattern Date: Wed, 2 Sep 2009 06:57:02 +0100 Using *.action and /struts/* works fine for our projects. I wanted to do that since I wanted to map *.do to a struts 1 filter. Peter. 2009/9/2 Wes Wannemacher : One thing I've been itching to try

Re: struts2 filter-mapping url-pattern

2009-09-01 Thread Rajeev Sharma
*.action works fine for me too. -Original Message- From: Peter Phillips Reply-to: "Struts Users Mailing List" To: Struts Users Mailing List Subject: Re: struts2 filter-mapping url-pattern Date: Wed, 2 Sep 2009 06:57:02 +0100 Using *.action and /struts/* works fine for our pr

Re: struts2 filter-mapping url-pattern

2009-09-01 Thread Peter Phillips
Using *.action and /struts/* works fine for our projects. I wanted to do that since I wanted to map *.do to a struts 1 filter. Peter. 2009/9/2 Wes Wannemacher : > 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 th

Re: struts2 filter-mapping url-pattern

2009-09-01 Thread Wes Wannemacher
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,

Re: struts2 filter-mapping url-pattern

2009-09-01 Thread Arthur Neves
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