jakartaee / jakartaee/servlet

Allow programmatic read access to the configuration

Open
#147 4 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Enhancement
Dominant language
Java
Stars
325
Forks
112
PR merge metrics
No merged PRs in 30d

Description

Some web libraries are interested in the web app configs and parse web.xml/web-fragment.xml themselves. Examples.

* Mojarra's com.sun.faces.config.ConfigureListener.WebXmlProcessor: checks for the FacesServlet, error-page and 'distributable' definitions.
* OmniFaces' org.omnifaces.config.WebXml: welcome files, error pages, form login page, form error page, security constraints, session timeout.
* PrimeFaces' org.primefaces.config.ConfigContainer: error pages.

There are proposed additional programmatic configuration APIs: #48, #50, #70. Their implementation would mean that those interested web libraries won't be able to see the programmatically configured things. Thus the need for a corresponding configuration reading API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.