jakartaee / jakartaee/servlet

ServletContainerInitializer.onStartup() and descriptors version level?

Open
#126 9 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
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

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.