struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alberto A. Flores" <aaflo...@gmail.com>
Subject Re: S2: web.xml servlet/filter-mappings
Date Tue, 15 Jul 2008 12:47:35 GMT
Also, please remember that the order of the <filter-mapping> in web.xml 
is VERY important.

Don Brown wrote:
> Could you post more information?  Struts should only be responding to
> URI's that contain configured extensions via the
> struts.action.extension setting, which defaults to "action".
> 
> Don
> 
> On Tue, Jul 15, 2008 at 7:01 PM, Mikkel Lindhard <mlindhard@gmail.com> wrote:
>> Hello list
>>
>> I have an web-application which use both Struts 2 and Axis 2.
>>
>> Before struts 2.1 i didn't have a problem using the following configuration
>> in web-xml
>>
>>        <servlet-mapping>
>>                <servlet-name>AxisServlet</servlet-name>
>>                <url-pattern>/services/*</url-pattern>
>>        </servlet-mapping>
>>
>>        <filter-mapping>
>>                <filter-name>struts2</filter-name>
>>                <url-pattern>/*</url-pattern>
>>        </filter-mapping>
>>
>> The problem with Struts2.1.x is that the /service/xxx calls are taken over
>> by the struts filter even though it doesnt have a mapping for it.
>>
>> is there a way i can configure struts to not handle the request if the
>> mapping doesnt exist?
>>
>> Or might there be another solution? :)
>>
>> Thanks in advance.
>>
>> Mikkel
>>
>>
>> ---------------------------------------------------------------------
>> 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
> 
> 

-- 

Alberto A. Flores
http://www.linkedin.com/in/aflores



Mime
View raw message