[
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.