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

Provide web-fragment.xml for easier deployment on Servlet 3.0 compliant containers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.7
    • 6.7.0
    • Dispatch Filter
    • None

    Description

      Servlet 3.0 specification includes the possibility for libraries to ship web-fragment.xml files in their META-INF directory to contribute some declarations to the main web.xml file.

      Struts 2 only requires the declaration of a filter in the web.xml file to work. When building Servlet 3.0 webapp, the web.xml file is often not used at all.
      It would be nice to ship a web-fragment.xml file in struts 2 that declares the PrepareAndExecute filter to simplify the use of the framework on a servlet 3.0 stack.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dleberre Daniel Le Berre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: