Marcin-

if you change struts2 filter all  e.g. <url-pattern>/*</url-pattern> to *some 
other characteristic* specific to your struts2 classes in web.xml 

    <filter-name>struts2</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

HTH,
Martin
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of 
the individual or entity to which it is addressed and may contain information 
that is privileged, proprietary , confidential and exempt from disclosure. If 
you are not the intended recipient, you are notified that any dissemination, 
distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le 
cas échéant) s'adresse au destinataire indiqué et peut contenir des 
renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le 
destinataire de ce document, nous vous signalons qu'il est strictement interdit 
de le diffuser, de le distribuer ou de le reproduire.
----- Original Message ----- 
From: "Marcin Zduniak" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Sunday, March 25, 2007 7:11 PM
Subject: "Disabling" struts2 filter for some URL


> Hello,
> 
>  I have struts2 application with FilterDispatcher mapping in web.xml
> set to /*. I would like to have in my application a few regular
> Servlets, let say with url:
> http://localhost:8080/MyStrutsApp/regularServlets/Servlet1 This
> servlet should not be filtered by Struts filter and I don't want to
> change mapping of Struts filter.
> 
> What is the best way to achieve it ? Own filter subclassing from
> FilterDispatcher ?
> 
> Thank you very much and kind regards,
> 
> -- 
> Marcin Zduniak
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to