struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Lindhard <mlindh...@gmail.com>
Subject S2: web.xml servlet/filter-mappings
Date Tue, 15 Jul 2008 09:01:34 GMT
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


Mime
View raw message