Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364430

Summary: Support web.xml enabled state for servlets
Product: [RT] Jetty Reporter: Jan Bartel <janb>
Component: serverAssignee: Jan Bartel <janb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 8.0.4   
Target Milestone: 7.5.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jan Bartel CLA 2011-11-21 20:01:07 EST
Servlet 3.0 introduces a boolean called "enabled" for the servlet element in web.xml. The spec p.73 says:

"If a servlet is disabled using the enabled element introduced in the web.xml
then the servlet will not be available at the url-pattern specified for the servlet."
Comment 1 Jan Bartel CLA 2011-11-21 22:10:50 EST
Fixed for jetty-8.1.0