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

📄 resin-web-xml-schema.xtp

📁 RESIN 3.2 最新源码
💻 XTP
📖 第 1 页 / 共 2 页
字号:
<document>  <header>    <product>resin</product>    <title>Resin web.xml Relax-NG Schema</title>    <version>Resin 3.0</version>    <description>      <p>The formal definition for the Resin web.xml configuration.</p>    </description>  </header>  <body>    <summary/><s1 title="Relax-NG Schema"><def title="com/caucho/server/webapp/resin-web-xml.rnc">include "resin-web-xml-content.rnc"start = m_web-appm_web-app = r_web-app | j2ee_web-app | l_web-app</def><def title="com/caucho/server/webapp/resin-web-xml-content.rnc">default namespace r = "http://caucho.com/ns/resin"namespace l = ""namespace rcore = "http://caucho.com/ns/resin/core"namespace xsi = "http://www.w3.org/2001/XMLSchema-instance"include "../resin/env.rnc"include "web-xml-content.rnc"## l_web-app should probably be handled in web-xml.rnc as Servlet 2.3l_web-app = element l:web-app { r_any-Group }## r_boolean-Type = string## r_int = string## r_period = string## r_jndi = string## r_class-Type = string## r_kbytes = stringr_access-log = element access-log {  r_resin-type?  &amp; r_log-Content  &amp; (attribute format { string }     | element format { string })?  &amp; (attribute archive-format { string }     | element archive-format { string })?  &amp; r_init?}r_allow-servlet-el =  attribute allow-servlet-el { r_boolean-Type }  | element allow-servlet-el { r_boolean-Type }r_auth-constraint = element auth-constraint {  r_description*,  r_role-name*}r_cache-mapping = element cache-mapping {  r_url-pattern  &amp; (attribute expires { r_period }     | element expires { r_period })}r_constraint = element constraint {  r_resin-type,  r_any-Group}r_config-file =  attribute config-file { string }  | element config-file { string }r_context-param = element context-param {  r_init-param-Content}r_context-path =  attribute context-path { string }  | element context-path { string }## marks the web-app as distributabler_distributable =  attribute distributable { string }  | element distributable { string }r_document-directory =  attribute document-directory { r_path-Type }  | element document-directory { r_path-Type }r_ear-Content =  r_class-loader?,  (r_env-Content   &amp; r_config-file*)r_ear-default = element ear-default {  r_ear-Content}r_ear-deploy = element ear-deploy {  (attribute url-prefix { string }   | element url-prefix { string })?  &amp; r_path  &amp; (attribute expand-directory { r_path-Type }     | element expand-directory { r_path-Type })?  &amp; (attribute archive-directory { r_path-Type }     | element archive-directory { r_path-Type })?  &amp; (attribute expand-path { r_path-Type }     | element expand-path { r_path-Type })?  &amp; r_lazy-init?  &amp; r_ear-default?}r_error-page = element error-page {  (attribute error-code { string }   | element error-code { string }   | attribute exception-type { string }   | element exception-type { string })?,  (attribute location { string }   | element location { string })}r_filter = element filter {   r_description-Group,   (attribute filter-name { string }    | element filter-name { string }),   (attribute filter-class { r_class-Type }    | element filter-class { r_class-Type }),   (r_init | r_init-param*)}r_filter-mapping = element filter-mapping {  (r_url-pattern   | attribute url-regexp { string }   | element url-regexp { string }   | attribute servlet-name { string }   | element servlet-name { string }),  (attribute filter-name { string }   | element filter-name { string }),  (attribute dispatcher { string }   | element dispatcher { string }*)}r_form-login-config = element form-login-config {  (attribute form-login-page { string }   | element form-login-page { string }),  (attribute form-error-page { string }   | element form-error-page { string }),  (attribute internal-forward { r_boolean-Type }   | element internal-forward { r_boolean-Type })?,  (attribute form-uri-priority { r_boolean-Type }   | element form-uri-priority { r_boolean-Type })?}r_jdbc-store = element jdbc-store {  (attribute data-source { r_jndi }   | element data-source { r_jndi })  &amp; (attribute table-name { string }     | element table-name { string })?  &amp; (attribute blob-type { string }     | element blob-type { string })?  &amp; (attribute max-idle-time { r_period }     | element max-idle-time { r_period })?}r_jsp = element jsp { (attribute auto-compile { r_boolean-Type }  | element auto-compile { r_boolean-Type })? &amp; (attribute el-ignored { r_boolean-Type }    | element el-ignored { r_boolean-Type })? &amp; (attribute fast-jstl { r_boolean-Type }    | element fast-jstl { r_boolean-Type })? &amp; (attribute ide-hack { r_boolean-Type }    | element ide-hack { r_boolean-Type })? &amp; (attribute ignore-el-exception { r_boolean-Type }    | element ignore-el-exception { r_boolean-Type })? &amp; (attribute is-xml { r_boolean-Type }    | element is-xml { r_boolean-Type })? &amp; (attribute jsp-max { r_int }    | element jsp-max { r_int })? &amp; (attribute page-encoding { string }    | element page-encoding { string })? &amp; (attribute precompile { r_boolean-Type }    | element precompile { r_boolean-Type })? &amp; (attribute recompile-on-error { r_boolean-Type }    | element recompile-on-error { r_boolean-Type })? &amp; (attribute recycle-tags { r_boolean-Type }    | element recycle-tags { r_boolean-Type })? &amp; (attribute require-source { r_boolean-Type }    | element require-source { r_boolean-Type })? &amp; (attribute scripting-invalid { r_boolean-Type }    | element scripting-invalid { r_boolean-Type })? &amp; (attribute session { r_boolean-Type }    | element session { r_boolean-Type })? &amp; (attribute tld-dir { r_boolean-Type }    | element tld-dir { r_boolean-Type })? &amp; (attribute velocity-enabled { r_boolean-Type }    | element velocity-enabled { r_boolean-Type })?}r_jsp-config = element jsp-config {  attribute id { string }?,  r_taglib*,  r_jsp-property-group*}r_jsp-property-group = element jsp-property-group {  attribute id { string }?,  r_description-Group,  r_url-pattern*,  element el-ignored { j2ee_boolean }?,  element page-encoding { j2ee_string }?,  element scripting-invalid { j2ee_boolean }?,  element is-xml { j2ee_boolean }?,  element include-prelude { j2ee_path }*,  element include-coda { j2ee_path }*}r_lazy-init =  attribute lazy-init { r_boolean-Type }  | element lazy-init { r_boolean-Type }r_listener = element listener {  r_description-Group,  (attribute listener-class { string }   | element listener-class { string }),  r_init?}r_login-config = element login-config {  r_type?,  (attribute auth-method { string }   | element auth-method { string })?,  (attribute realm-name { string }   | element realm-name { string })?,  r_form-login-config?,  (attribute authenticator { r_jndi }   | element authenticator { r_jndi })?,  r_init?}r_http-method-Values =    "GET"  | "POST"  | "PUT"  | "DELETE"  | "HEAD"  | "OPTIONS"  | "TRACE"r_http-method =  attribute http-method { r_http-method-Values }  | element http-method { r_http-method-Values }r_ip-constraint =  (attribute ip-constraint { string }   | element ip-constraint { string })*  | element ip-constraint {       ((element allow { string })*       &amp; (element deny { string })*)*  }r_mime-mapping = element mime-mapping {  (attribute extension { string }   | element extension { string }),  (attribute mime-type { string }   | element mime-type { string })}r_multipart-form = element multipart-form {  (attribute enable { r_boolean-Type }   | element upload-max { r_boolean-Type })?  &amp; (attribute upload-max { r_kbytes }     | element upload-max { r_kbytes })?}## this doesn't exist in servlet spec?r_path-mapping = element path-mapping {  (r_url-pattern   | attribute url-regexp { string }   | element url-regexp { string })  &amp; (attribute real-path { r_path-Type }     | element real-path { r_path-Type })}r_persistent_store =  attribute persistent-store { string }  | element persistent-store { string }r_redeploy-mode =  attribute redeploy-mode { string }  | element redeploy-mode { string }r_run-at =   attribute run-at { string }   | element run-at {

⌨️ 快捷键说明

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