struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rusty Wright <rusty.wri...@gmail.com>
Subject Re: struts2 filter-mapping url-pattern
Date Wed, 02 Sep 2009 07:20:19 GMT
That's good to know; thanks.

This struts newbie would like to know, what's the /struts/* mapping for?


Rajeev Sharma wrote:
> *.action works fine for me too.
> 
> -----Original Message-----
> From: Peter Phillips <petergphillips@googlemail.com>
> Reply-to: "Struts Users Mailing List" <user@struts.apache.org>
> To: Struts Users Mailing List <user@struts.apache.org>
> 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 <wesw@wantii.com>:
>> 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.
>>
>> -Wes
>>
>> 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 <rusty.wright@gmail.com>
>>>
>>>> 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: user-unsubscribe@struts.apache.org
>>>> For additional commands, e-mail: user-help@struts.apache.org
>> --
>> Wes Wannemacher
>>
>> Head Engineer, WanTii, Inc.
>> Need Training? Struts, Spring, Maven, Tomcat...
>> Ask me for a quote!
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message