Author: markt Date: Mon Jul 20 10:56:09 2009 New Revision: 795760 URL: http://svn.apache.org/viewvc?rev=795760&view=rev Log: Tab police
Modified: tomcat/trunk/webapps/examples/WEB-INF/web.xml Modified: tomcat/trunk/webapps/examples/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/web.xml?rev=795760&r1=795759&r2=795760&view=diff ============================================================================== --- tomcat/trunk/webapps/examples/WEB-INF/web.xml (original) +++ tomcat/trunk/webapps/examples/WEB-INF/web.xml Mon Jul 20 10:56:09 2009 @@ -31,10 +31,10 @@ <filter> <filter-name>Timing filter</filter-name> <filter-class>filters.ExampleFilter</filter-class> - <init-param> - <param-name>attribute</param-name> - <param-value>filters.ExampleFilter</param-value> - </init-param> + <init-param> + <param-name>attribute</param-name> + <param-value>filters.ExampleFilter</param-value> + </init-param> </filter> <filter> @@ -183,62 +183,62 @@ <jsp-config> <taglib> - <taglib-uri> - http://tomcat.apache.org/debug-taglib - </taglib-uri> - <taglib-location> - /WEB-INF/jsp/debug-taglib.tld - </taglib-location> - </taglib> - - <taglib> - <taglib-uri> - http://tomcat.apache.org/examples-taglib - </taglib-uri> - <taglib-location> - /WEB-INF/jsp/example-taglib.tld - </taglib-location> - </taglib> - - <taglib> - <taglib-uri> - http://tomcat.apache.org/jsp2-example-taglib - </taglib-uri> - <taglib-location> - /WEB-INF/jsp2/jsp2-example-taglib.tld - </taglib-location> - </taglib> - - <jsp-property-group> - <description> - Special property group for JSP Configuration JSP example. - </description> - <display-name>JSPConfiguration</display-name> - <url-pattern>/jsp/jsp2/misc/config.jsp</url-pattern> - <el-ignored>true</el-ignored> - <page-encoding>ISO-8859-1</page-encoding> - <scripting-invalid>true</scripting-invalid> - <include-prelude>/jsp/jsp2/misc/prelude.jspf</include-prelude> - <include-coda>/jsp/jsp2/misc/coda.jspf</include-coda> - </jsp-property-group> + <taglib-uri> + http://tomcat.apache.org/debug-taglib + </taglib-uri> + <taglib-location> + /WEB-INF/jsp/debug-taglib.tld + </taglib-location> + </taglib> + + <taglib> + <taglib-uri> + http://tomcat.apache.org/examples-taglib + </taglib-uri> + <taglib-location> + /WEB-INF/jsp/example-taglib.tld + </taglib-location> + </taglib> + + <taglib> + <taglib-uri> + http://tomcat.apache.org/jsp2-example-taglib + </taglib-uri> + <taglib-location> + /WEB-INF/jsp2/jsp2-example-taglib.tld + </taglib-location> + </taglib> + + <jsp-property-group> + <description> + Special property group for JSP Configuration JSP example. + </description> + <display-name>JSPConfiguration</display-name> + <url-pattern>/jsp/jsp2/misc/config.jsp</url-pattern> + <el-ignored>true</el-ignored> + <page-encoding>ISO-8859-1</page-encoding> + <scripting-invalid>true</scripting-invalid> + <include-prelude>/jsp/jsp2/misc/prelude.jspf</include-prelude> + <include-coda>/jsp/jsp2/misc/coda.jspf</include-coda> + </jsp-property-group> </jsp-config> <security-constraint> <display-name>Example Security Constraint</display-name> <web-resource-collection> <web-resource-name>Protected Area</web-resource-name> - <!-- Define the context-relative URL(s) to be protected --> + <!-- Define the context-relative URL(s) to be protected --> <url-pattern>/jsp/security/protected/*</url-pattern> - <!-- If you list http methods, only those methods are protected --> - <http-method>DELETE</http-method> + <!-- If you list http methods, only those methods are protected --> + <http-method>DELETE</http-method> <http-method>GET</http-method> <http-method>POST</http-method> - <http-method>PUT</http-method> + <http-method>PUT</http-method> </web-resource-collection> <auth-constraint> <!-- Anyone with one of the listed roles may access this area --> <role-name>tomcat</role-name> - <role-name>role1</role-name> + <role-name>role1</role-name> </auth-constraint> </security-constraint> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org