Pages

Thursday, December 31, 2009

web.xml

A display-name element that specifies the name that tools use to identify the application.

A set of filter elements that identify servlet filters contained in the application.

A set of filter-mapping elements that identify which servlets will have their requests or

responses filtered by the filters identified by the filter elements. A filter-mapping
element can define more than one servlet mapping and more than one URL pattern for a
particular filter.
A set of servlet elements that identify all the servlet instances of the application.

A set of servlet-mapping elements that map the servlets to URL patterns. More than one

URL pattern can be defined for a particular servlet.
A set of error-page mappings that map exception types to an HTML page, so that the HTML

page opens when an exception of that type is thrown by the application.

No comments:

Post a Comment