On Sunday 01 March 2009 02:48:31 Jeromy Evans wrote:
> Hi Andreas,
>
> The perfect place to filter the URLs is before they reach the
> Container at all.
> The next-best place is within a custom ActionMapper as Jelmer
> suggested as that's what it's designed for. I don't think you'll gain
>
Hi Andreas,
The perfect place to filter the URLs is before they reach the
Container at all.
The next-best place is within a custom ActionMapper as Jelmer
suggested as that's what it's designed for. I don't think you'll gain
much performance filtering before the ActionMapper and it will con
On Friday 27 February 2009 08:50:16 Jelmer Kuperus wrote:
> I implemented something similarar while back by implementing a custom
> actionmapper. You can then set that one as the default by changing a
> property
>
> It allowed me to get the behaviour i wanted without changing any
> struts co
On Thursday 26 February 2009 17:45:52 Chris Pratt wrote:
> You might have to specify it as a servlet filter init parameter instead of
> relying on struts.xml/properties.
> (*Chris*)
Yes, I know that would do the trick, but my ambition was to keep all
Struts2-related config in *one* place (strut
I implemented something similarar while back by implementing a custom
actionmapper. You can then set that one as the default by changing a
property
It allowed me to get the behaviour i wanted without changing any
struts code. I remember there being some gotchas tho.
Personally i think exc
You might have to specify it as a servlet filter init parameter instead of
relying on struts.xml/properties.
(*Chris*)
On Thu, Feb 26, 2009 at 3:18 AM, Andreas Joseph Krogh
wrote:
> On Wednesday 25 February 2009 22:27:25 Andreas Joseph Krogh wrote:
> > Hi all.
> > I would like to extend the str
On Wednesday 25 February 2009 22:27:25 Andreas Joseph Krogh wrote:
> Hi all.
> I would like to extend the struts2 servlet-filters with a config-option
> telling it URI-patterns to exclude. My thoughts are to add a property:
>
> struts.action.url_exclude_pattern=/lang/.*,/pages/.*
>
> and have th
Hi all.
I would like to extend the struts2 servlet-filters with a config-option telling
it URI-patterns to exclude. My thoughts are to add a property:
struts.action.url_exclude_pattern=/lang/.*,/pages/.*
and have the StrutsPrepareFilter, StrutsExecuteFilter and
StrutsPrepareAndExecuteFilter ign