- Fix paths.
authorremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 2 May 2007 14:51:32 +0000 (14:51 +0000)
committerremm <remm@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 2 May 2007 14:51:32 +0000 (14:51 +0000)
- Submitted by Frank McCown.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@534492 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/realm-howto.xml
webapps/examples/WEB-INF/web.xml

index 439c0ef..e3fb3ea 100644 (file)
@@ -241,7 +241,7 @@ corrupted in the return, the digest will be invalid.</p>
 <p>The example application shipped with Tomcat 6 includes an area that is
 protected by a security constraint, utilizing form-based login.  To access it,
 point your browser at
-<a href="http://localhost:8080/jsp-examples/security/protected/">http://localhost:8080/jsp-examples/security/protected/</a>
+<a href="http://localhost:8080/examples/jsp/security/protected/">http://localhost:8080/examples/jsp/security/protected/</a>
 and log on with one of the usernames and passwords described for the default
 <a href="#MemoryRealm">MemoryRealm</a>.</p>
 
index 2ee73c4..b93b5e0 100644 (file)
       <web-resource-collection>
          <web-resource-name>Protected Area</web-resource-name>
         <!-- Define the context-relative URL(s) to be protected -->
-         <url-pattern>/security/protected/*</url-pattern>
+         <url-pattern>/jsp/security/protected/*</url-pattern>
         <!-- If you list http methods, only those methods are protected -->
         <http-method>DELETE</http-method>
          <http-method>GET</http-method>