Bug 418957 - [regression] Servlets should not be disabled by default
Summary: [regression] Servlets should not be disabled by default
Status: RESOLVED FIXED
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.5.1   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: 3.5.2   Edit
Assignee: Carl Anderson CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard:
Keywords:
Depends on: 305066
Blocks: 419804
  Show dependency tree
 
Reported: 2013-10-08 14:57 EDT by Keith Chong CLA
Modified: 2013-10-24 15:15 EDT (History)
2 users (show)

See Also:
cbridgha: review+


Attachments
Set the default to true (646 bytes, patch)
2013-10-18 01:42 EDT, Carl Anderson CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Chong CLA 2013-10-08 14:57:49 EDT
+++ This bug was initially created as a clone of Bug #305066 +++

In the model regeneration for Java EE 6 (now, 7), the default for the new <enabled> attribute for servlets is false.  That means that any servlet created will not be available on the server - see section 8.2.2 of the Servlet 3.0 specification.  That is bad - we need the default to be enabled, not disabled.
Comment 1 Carl Anderson CLA 2013-10-18 01:42:41 EDT
Created attachment 236636 [details]
Set the default to true
Comment 2 Carl Anderson CLA 2013-10-24 15:15:58 EDT
Committed/released to R3_5_maintenance and master for WTP 3.5.2 and WTP 3.6 M3.