Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319745 - Filter mappings dialog enhancement for spec compliance
Summary: Filter mappings dialog enhancement for spec compliance
Status: NEW
Alias: None
Product: WTP Java EE Tools
Classification: WebTools
Component: jst.j2ee (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: Carl Anderson CLA
QA Contact: Chuck Bridgham CLA
URL:
Whiteboard: JavaEE6
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 11:46 EDT by Carl Anderson CLA
Modified: 2010-07-13 11:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Anderson CLA 2010-07-13 11:46:31 EDT
One big change between the Servlet 2.4 specification and the Servlet 2.5 specification was the set up of the filter-mapping element.  Our UI has not kept up to date with those changes.  Additionally, in the Servlet 3.0 specification, a new DispatcherType of ASYNC was added.  That new type is not surfaced in our UI.

In Servlet 2.4, each filter mapping consists of:
A name
Either a URL pattern or a Servlet name
0 to 4 of the available DispatcherTypes

In Servlet 2.5, each filter mapping consists of:
A name
As many URL patterns and/or Servlet names as desired
0 to 4 of the available DispatcherTypes

In Servlet 3.0, each filter mapping consists of:
A name
As many URL patterns and/or Servlet names as desired
0 to 5 of the available DispatcherTypes (which now includes ASYNC)

Currently, this is all handled through AddEditFilterMappingDialog, which handles the Servlet 2.4 filter mappings exactly as it should.  We need to do something to handle Servlet 2.5 and Servlet 3.0 properly.