ServletContainerInitializer.onStartup() and descriptors version level?
Open
- Dominant language
- Java
- Stars
- 325
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
I observe inconsistent behavior between GlassFish and WebLogic regarding the invocation of the onStartup() method of a ServletContainerInitializer implementation depending on the version level of the web.xml. On GlassFish 4.1, the onStartup() gets called regardless of the version level of the web.xml. On WebLogic it appears to only be called if the version is 3.0 or greater.
This indicates the need for clarity in the spec.
Contributor guide
Assessment
This issue has not been assessed yet.