Hi Andreas, attaching the patch to a jira ticket is the way to go to
make sure we don't forget about it.

thanks
musachy

On Fri, Feb 27, 2009 at 7:46 AM, Andreas Joseph Krogh
<[email protected]> wrote:
> Hi.
> I have modified StrutsPrepareAndExecuteFilter, StrutsPrepareFilter and 
> StrutsExecuteFilter to enable excluding of uri-patters. The filter-config is 
> as follows:
>        <filter>
>                <filter-name>struts2-prepare</filter-name>
>                
> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter</filter-class>
>                <init-param>
>                        <description>Comma separated list of patterns 
> (java.util.regex.Pattern) to be excluded from Struts2-processing</description>
>                        <param-name>excludedPatterns</param-name>
>                        <param-value>/lang/.*,/pages/.*</param-value>
>                </init-param>
>        </filter>
>
> Attached is a patch against trunk(revision 747785).
>
> My original plan was to be able to configure this by setting a property 
> specifying the pattern(s) in struts.properties or struts.xml, but nobody 
> proposed a solution for how I could use those properties from the 
> servlet-filters when I asked...
>
> --
> Andreas Joseph Krogh <[email protected]>
> Senior Software Developer / CEO
> ------------------------+---------------------------------------------+
> OfficeNet AS            | The most difficult thing in the world is to |
> Rosenholmveien 25       | know how to do a thing and to watch         |
> 1414 Trollåsen          | somebody else doing it wrong, without       |
> NORWAY                  | comment.                                    |
>                        |                                             |
> Tlf:    +47 24 15 38 90 |                                             |
> Fax:    +47 24 15 38 91 |                                             |
> Mobile: +47 909  56 963 |                                             |
> ------------------------+---------------------------------------------+
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to