You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2013/06/20 12:41:56 UTC
svn commit: r1494918 -
/tomcat/trunk/webapps/examples/jsp/security/protected/index.jsp
Author: markt
Date: Thu Jun 20 10:41:55 2013
New Revision: 1494918
URL: http://svn.apache.org/r1494918
Log:
The form needs a submit button
Modified:
tomcat/trunk/webapps/examples/jsp/security/protected/index.jsp
Modified: tomcat/trunk/webapps/examples/jsp/security/protected/index.jsp
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/security/protected/index.jsp?rev=1494918&r1=1494917&r2=1494918&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/security/protected/index.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/security/protected/index.jsp Thu Jun 20 10:41:55 2013
@@ -64,17 +64,18 @@ in session <b><%= session.getId() %></b>
}
%>
-To check whether your username has been granted a particular role,
+To check whether your user name has been granted a particular role,
enter it here:
<form method="GET" action='<%= response.encodeURL("index.jsp") %>'>
<input type="text" name="role" value="<%= util.HTMLFilter.filter(role) %>">
+<input type="submit" >
</form>
<br><br>
-If you have configured this app for form-based authentication, you can log
-off by clicking
+If you have configured this application for form-based authentication, you can
+log off by clicking
<a href='<%= response.encodeURL("index.jsp?logoff=true") %>'>here</a>.
-This should cause you to be returned to the logon page after the redirect
+This should cause you to be returned to the login page after the redirect
that is performed.
</body>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org