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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to