You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jasper Rosenberg (JIRA)" <ji...@apache.org> on 2009/07/17 21:56:58 UTC
[jira] Created: (WW-3196) StrutsPrepareAndExecuteFilter has no hook
to do own initialization with container
StrutsPrepareAndExecuteFilter has no hook to do own initialization with container
---------------------------------------------------------------------------------
Key: WW-3196
URL: https://issues.apache.org/struts/browse/WW-3196
Project: Struts 2
Issue Type: Improvement
Components: Dispatch Filter
Affects Versions: 2.1.7
Reporter: Jasper Rosenberg
Priority: Minor
Fix For: 2.1.8
When the struts filter initializes I'd like to do some additional work (such as forcing the Freemarker configuration to initialize before the first request). However, I can't find a way to get access to the Container (or the Dispatcher which would give me the container) in a subclass of StrutsPrepareAndExecuteFilter. It would be great if some hook could be provided for subclasses. Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WW-3196) StrutsPrepareAndExecuteFilter has no
hook to do own initialization with container
Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/struts/browse/WW-3196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3196.
---------------------------------
Resolution: Fixed
postInit(Dispatcher dispatcher, FilterConfig filterConfig) added
> StrutsPrepareAndExecuteFilter has no hook to do own initialization with container
> ---------------------------------------------------------------------------------
>
> Key: WW-3196
> URL: https://issues.apache.org/struts/browse/WW-3196
> Project: Struts 2
> Issue Type: Improvement
> Components: Dispatch Filter
> Affects Versions: 2.1.7
> Reporter: Jasper Rosenberg
> Priority: Minor
> Fix For: 2.1.8
>
>
> When the struts filter initializes I'd like to do some additional work (such as forcing the Freemarker configuration to initialize before the first request). However, I can't find a way to get access to the Container (or the Dispatcher which would give me the container) in a subclass of StrutsPrepareAndExecuteFilter. It would be great if some hook could be provided for subclasses. Thanks!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.