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

StrutsPrepareAndExecuteFilter has no hook to do own initialization with container

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8
    • 2.1.8
    • Dispatch Filter
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: