1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
|
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<description>Description</description>
<display-name>DisplayName</display-name>
<distributable/>
<context-param>
<description>contextparamdesc</description>
<param-name>contextparamname</param-name>
<param-value>contextparamvalue</param-value>
</context-param>
<filter>
<description>FilterDescription</description>
<filter-name>FilterName</filter-name>
<filter-class>FilterClass</filter-class>
<init-param>
<description>FilterParamDescription</description>
<param-name>FilterParamName</param-name>
<param-value>FilterParamValue</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>MappedFilterName</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<listener>
<description>listenerdescription</description>
<listener-class>listenerclass</listener-class>
</listener>
<servlet>
<description>ServletDescription</description>
<servlet-name>ServletName</servlet-name>
<servlet-class>ServletClass</servlet-class>
<init-param>
<description>ServletParamDesc</description>
<param-name>ServletParam</param-name>
<param-value>ServletParamVal</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>ServletName</servlet-name>
<url-pattern>*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>
index.jsp
</welcome-file>
</welcome-file-list>
<error-page>
<error-code>404</error-code>
<location>/index.jsp</location>
</error-page>
<jsp-config>
<jsp-property-group>
<description>PropGrpDesc</description>
<display-name>PropGrpName</display-name>
<url-pattern>/*</url-pattern>
<el-ignored>true</el-ignored>
<page-encoding>ASCII</page-encoding>
<scripting-invalid>true</scripting-invalid>
<is-xml>true</is-xml>
<include-prelude>head.jsp</include-prelude>
<include-prelude>head2.jsp</include-prelude>
<include-coda>foot.jsp</include-coda>
<include-coda>foot2.jsp</include-coda>
</jsp-property-group>
</jsp-config>
<security-constraint>
<display-name>UserConstraint</display-name>
<web-resource-collection>
<web-resource-name>usercol</web-resource-name>
<description>user resource</description>
<url-pattern>/secureUser/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
<http-method>HEAD</http-method>
<http-method>PUT</http-method>
<http-method>OPTIONS</http-method>
<http-method>TRACE</http-method>
<http-method>DELETE</http-method>
</web-resource-collection>
<auth-constraint>
<description>authentication description</description>
<role-name>admin</role-name>
<role-name>user</role-name>
</auth-constraint>
<user-data-constraint>
<description>data description</description>
<transport-guarantee>NONE</transport-guarantee>
</user-data-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/loginError.jsp</form-error-page>
</form-login-config>
</login-config>
<security-role>
<description>administrator</description>
<role-name>admin</role-name>
</security-role>
<security-role>
<description>testuser</description>
<role-name>user</role-name>
</security-role>
<env-entry>
<description>EnvDesc</description>
<env-entry-name>EnvName</env-entry-name>
<env-entry-type>java.lang.Character</env-entry-type>
<env-entry-value>EnvValue</env-entry-value>
</env-entry>
<ejb-ref>
<description>EJBDesc2</description>
<ejb-ref-name>EJBName2</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>EJBHome2</home>
<remote>EJBRemote</remote>
<ejb-link>LinkedEJB2</ejb-link>
</ejb-ref>
<ejb-local-ref>
<description>EJBDesc</description>
<ejb-ref-name>EJBName</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>EJBHome</local-home>
<local>EJBLocal</local>
<ejb-link>LinkedEJB</ejb-link>
</ejb-local-ref>
<resource-ref>
<description>ResDesc</description>
<res-ref-name>ResName</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Application</res-auth>
<res-sharing-scope>Unshareable</res-sharing-scope>
</resource-ref>
<resource-env-ref>
<description>ResEnvdesc</description>
<resource-env-ref-name>ResEnvName</resource-env-ref-name>
<resource-env-ref-type>javax.jms.Topic</resource-env-ref-type>
</resource-env-ref>
<message-destination-ref>
<description>MsgDesc</description>
<message-destination-ref-name>MsgName</message-destination-ref-name>
<message-destination-type>javax.jms.Topic</message-destination-type>
<message-destination-usage>Produces</message-destination-usage>
<message-destination-link>MsgLink</message-destination-link>
</message-destination-ref>
</web-app>
|