web.XML Deployment Descriptor Elements

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

web.XML Deployment Descriptor Elements

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:

icon Element

<small-icon>

<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.)

This element is not currently used by WebLogic Server.

The following table describes the elements you can define within an icon element.

Element

Required/

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航