Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3196

StrutsPrepareAndExecuteFilter has no hook to do own initialization with container

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.8
    • Fix Version/s: 2.1.8
    • Component/s: Dispatch Filter
    • Labels:
      None

      Description

      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!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              perfnorm Jasper Rosenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: