The root node element of the web.xml file is ,
DTD is specified as
Web Application Character Set
Set this Web Application in the GUI tool size icon display
ELEMENT Required / Optional Description
Optional is a picture file with a small icon for displaying the display, the size of the displayed small icon, the size of GIF or JPG for 16x16 Pixel
/ optional / identical, size 32 x32 pixel picture file
/web_small.jpg small-icon>
/web_large.gif large-icon>
icon>
Web Application Display Name Weblogic does not support this node on the GUI tool
ELEMENT Required / Optional Description
Optional WebLogic does not support this ELEMENT
Common display-name>
Declare the initialization parameters of the Web Application's Servlet, each node can set a parameter, the code can be accessed by javax.servlet.servletContext.getinitParameter () and javax.servlet.servletContext.getinitParameterNames () method access to settings Good parameter
ELEMENT Required / Optional Description
Required parameter name
Required parameter value
Optional parameter description
Encoding param-name>
GB2312 param-value>
context-param>
LocalParameter param-name>
zh param-value>
context-param>
Define the listener used by the web application, such as the number of changes used to monitor the number of session, statistics
ELEMENT Required / Optional Description
Optional listener's full Class name.
myapp.mycontextListenerClass listener-class>
listener>