[Reserved] Web.xml Common Node Description

xiaoxiao2021-03-06  112

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

/web_large.gif

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

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

GB2312

LocalParameter

zh

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

转载请注明原文地址:https://www.9cbs.com/read-98231.html

New Post(0)