You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2023/06/28 07:00:00 UTC

[jira] [Updated] (WW-3933) Provide web-fragment.xml for easier deployment on Servlet 3.0 compliant containers

     [ https://issues.apache.org/jira/browse/WW-3933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-3933:
------------------------------
    Fix Version/s: 6.4.0
                       (was: 6.2.0)

> Provide web-fragment.xml for easier deployment on Servlet 3.0 compliant containers
> ----------------------------------------------------------------------------------
>
>                 Key: WW-3933
>                 URL: https://issues.apache.org/jira/browse/WW-3933
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Dispatch Filter
>    Affects Versions: 2.3.7
>            Reporter: Daniel Le Berre
>            Priority: Minor
>             Fix For: 6.4.0
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)