web.xml deployment descriptor elements
【程序编程相关:JAVA mail应用 - 用JAVA 】
【推荐阅读:配置shark与mysql的连接】icon element
<small-icon>
【扩展信息:VC 点滴之二 文件与注册表】
this following sections describe the deployment descriptor elements defined in the web.xml file. the root element for web.xml is <web-app>. the following elements are defined within the <web-app> element:
<large-icon> display-name element description element distributable element context-param element<param-name>
<param-value> <description> filter element<icon>
<filter-name> <display-name> <description> <filter-class> <init-param> filter-mapping element<filter-name>
<url-pattern> <servlet> listener element<listener-class>
servlet element<icon>
<small-icon>
<large-icon><servlet-name>
<display-name> <description> <servlet-class> <jsp-file> <init-param><param-name>
<param-value> <description><load-on-startup>
<security-role- ref><description>
<role-name> <role-link> servlet-mapping element<servlet-name>
<url-pattern> session-config element<session-timeout>
mime-mapping element<extension>
<mime-type> welcome-file-list element<welcome-file>
error-page element<error-code>
<exception-type> <location> taglib element<taglib-location>
<taglib-uri> resource-ref element<description>
<res-ref-name> <res-type> <res-auth> <res-sharing-scope> security-constraint element<web-resource- collection>
<web-resource- name>
<description> <url-pattern> <http-method><auth-constraint>
<description>
<role-name><user-data- constraint>
<description>
<transport- guarantee> login-config element<auth-method>
<realm-name> <form-login- config><form-login-page>
<form-error-page> security-role element<description>
<role-name> env-entry element<description>
<env-entry-name> <env-entry-value> <env-entry-type> ejb-ref element<description>
<ejb-ref-name> <ejb-ref-type> <home> <remote> <ejb-link> <run-as>icon element
the icon element specifies the location within the web application for a small and large image used to represent the web application in a gui tool. (the servlet element also has an element called the icon element, used to supply an icon to represent a servlet in a gui tool.)
... 下一页