struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown" <donald.br...@gmail.com>
Subject Re: S2: web.xml servlet/filter-mappings
Date Tue, 15 Jul 2008 10:12:59 GMT
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


Mime
View raw message