⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 web-app_2_3.dtd

📁 文章管理系统
💻 DTD
📖 第 1 页 / 共 3 页
字号:
Used in: error-page--><!ELEMENT exception-type (#PCDATA)><!--The extension element contains a string describing anextension. example: "txt"Used in: mime-mapping--><!ELEMENT extension (#PCDATA)><!--Declares a filter in the web application. The filter is mapped toeither a servlet or a URL pattern in the filter-mapping element, usingthe filter-name value to reference. Filters can access theinitialization parameters declared in the deployment descriptor atruntime via the FilterConfig interface.Used in: web-app--><!ELEMENT filter (icon?, filter-name, display-name?, description?,filter-class, init-param*)><!--The fully qualified classname of the filter.Used in: filter--><!ELEMENT filter-class (#PCDATA)><!--Declaration of the filter mappings in this web application. Thecontainer uses the filter-mapping declarations to decide which filtersto apply to a request, and in what order. The container matches therequest URI to a Servlet in the normal way. To determine which filtersto apply it matches filter-mapping declarations either on servlet-name,or on url-pattern for each filter-mapping element, depending on whichstyle is used. The order in which filters are invoked is the order inwhich filter-mapping declarations that match a request URI for aservlet appear in the list of filter-mapping elements.The filter-namevalue must be the value of the <filter-name> sub-elements of one of the<filter> declarations in the deployment descriptor.Used in: web-app--><!ELEMENT filter-mapping (filter-name, (url-pattern | servlet-name))><!--The logical name of the filter. This name is used to map the filter.Each filter name is unique within the web application.Used in: filter, filter-mapping--><!ELEMENT filter-name (#PCDATA)><!--The form-error-page element defines the location in the web appwhere the error page that is displayed when login is not successfulcan be found. The path begins with a leading / and is interpretedrelative to the root of the WAR.Used in: form-login-config--><!ELEMENT form-error-page (#PCDATA)><!--The form-login-config element specifies the login and error pagesthat should be used in form based login. If form based authenticationis not used, these elements are ignored.Used in: login-config--><!ELEMENT form-login-config (form-login-page, form-error-page)><!--The form-login-page element defines the location in the web appwhere the page that can be used for login can be found. The pathbegins with a leading / and is interpreted relative to the root of the WAR.Used in: form-login-config--><!ELEMENT form-login-page (#PCDATA)><!--The home element contains the fully-qualified name of the enterprisebean's home interface.Used in: ejb-refExample:<home>com.aardvark.payroll.PayrollHome</home>--><!ELEMENT home (#PCDATA)><!--The http-method contains an HTTP method (GET | POST |...).Used in: web-resource-collection--><!ELEMENT http-method (#PCDATA)><!--The icon element contains small-icon and large-icon elements thatspecify the file names for small and a large GIF or JPEG icon imagesused to represent the parent element in a GUI tool.Used in: filter, servlet, web-app--><!ELEMENT icon (small-icon?, large-icon?)><!--The init-param element contains a name/value pair as aninitialization param of the servletUsed in: filter, servlet--><!ELEMENT init-param (param-name, param-value, description?)><!--The jsp-file element contains the full path to a JSP file withinthe web application beginning with a `/'.Used in: servlet--><!ELEMENT jsp-file (#PCDATA)><!--The large-icon element contains the name of a filecontaining a large (32 x 32) icon image. The filename is a relative path within the web application'swar file.The image may be either in the JPEG or GIF format.The icon can be used by tools.Used in: iconExample:<large-icon>employee-service-icon32x32.jpg</large-icon>--><!ELEMENT large-icon (#PCDATA)><!--The listener element indicates the deployment properties for a webapplication listener bean.Used in: web-app--><!ELEMENT listener (listener-class)><!--The listener-class element declares a class in the application must beregistered as a web application listener bean. The value is the fully qualified classname of the listener class.Used in: listener--><!ELEMENT listener-class (#PCDATA)><!--The load-on-startup element indicates that this servlet should beloaded (instantiated and have its init() called) on the startupof the web application. The optional contents ofthese element must be an integer indicating the order in whichthe servlet should be loaded. If the value is a negative integer,or the element is not present, the container is free to load theservlet whenever it chooses. If the value is a positive integeror 0, the container must load and initialize the servlet as theapplication is deployed. The container must guarantee thatservlets marked with lower integers are loaded before servletsmarked with higher integers. The container may choose the orderof loading of servlets with the same load-on-start-up value.Used in: servlet--><!ELEMENT load-on-startup (#PCDATA)><!--The local element contains the fully-qualified name of theenterprise bean's local interface.Used in: ejb-local-ref--><!ELEMENT local (#PCDATA)><!--The local-home element contains the fully-qualified name of theenterprise bean's local home interface.Used in: ejb-local-ref--><!ELEMENT local-home (#PCDATA)><!--The location element contains the location of the resource in the webapplication relative to the root of the web application. The value ofthe location must have a leading `/'.Used in: error-page--><!ELEMENT location (#PCDATA)><!--The login-config element is used to configure the authenticationmethod that should be used, the realm name that should be used forthis application, and the attributes that are needed by the form loginmechanism.Used in: web-app--><!ELEMENT login-config (auth-method?, realm-name?, form-login-config?)><!--The mime-mapping element defines a mapping between an extensionand a mime type.Used in: web-app--><!ELEMENT mime-mapping (extension, mime-type)><!--The mime-type element contains a defined mime type. example:"text/plain"Used in: mime-mapping--><!ELEMENT mime-type (#PCDATA)><!--The param-name element contains the name of a parameter. Each parametername must be unique in the web application.Used in: context-param, init-param--><!ELEMENT param-name (#PCDATA)><!--The param-value element contains the value of a parameter.Used in: context-param, init-param--><!ELEMENT param-value (#PCDATA)><!--The realm name element specifies the realm name to use in HTTPBasic authorization.Used in: login-config--><!ELEMENT realm-name (#PCDATA)><!--The remote element contains the fully-qualified name of the enterprisebean's remote interface.Used in: ejb-refExample:<remote>com.wombat.empl.EmployeeService</remote>--><!ELEMENT remote (#PCDATA)><!--The res-auth element specifies whether the web application code signson programmatically to the resource manager, or whether the Containerwill sign on to the resource manager on behalf of the web application. In thelatter case, the Container uses information that is supplied by theDeployer.The value of this element must be one of the two following:	<res-auth>Application</res-auth>	<res-auth>Container</res-auth>Used in: resource-ref--><!ELEMENT res-auth (#PCDATA)><!--The res-ref-name element specifies the name of a resource managerconnection factory reference.  The name is a JNDI name relative to thejava:comp/env context.  The name must be unique within a web application.Used in: resource-ref--><!ELEMENT res-ref-name (#PCDATA)><!--The res-sharing-scope element specifies whether connections obtainedthrough the given resource manager connection factory reference can beshared. The value of this element, if specified, must be one of thetwo following:	<res-sharing-scope>Shareable</res-sharing-scope>	<res-sharing-scope>Unshareable</res-sharing-scope>The default value is Shareable.Used in: resource-ref--><!ELEMENT res-sharing-scope (#PCDATA)><!--The res-type element specifies the type of the data source. The typeis specified by the fully qualified Java language class or interfaceexpected to be implemented by the data source.Used in: resource-ref--><!ELEMENT res-type (#PCDATA)><!--The resource-env-ref element contains a declaration of a web application'sreference to an administered object associated with a resourcein the web application's environment.  It consists of an optionaldescription, the resource environment reference name, and anindication of the resource environment reference type expected bythe web application code.Used in: web-appExample:<resource-env-ref>    <resource-env-ref-name>jms/StockQueue</resource-env-ref-name>    <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type></resource-env-ref>--><!ELEMENT resource-env-ref (description?, resource-env-ref-name,		resource-env-ref-type)><!--The resource-env-ref-name element specifies the name of a resourceenvironment reference; its value is the environment entry name used inthe web application code.  The name is a JNDI name relative to thejava:comp/env context and must be unique within a web application.Used in: resource-env-ref--><!ELEMENT resource-env-ref-name (#PCDATA)><!--The resource-env-ref-type element specifies the type of a resourceenvironment reference.  It is the fully qualified name of a Javalanguage class or interface.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -