You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2009/09/30 01:23:11 UTC
svn commit: r820123 - in /tomcat/trunk/webapps/manager: 401.jsp 404.jsp
Author: kkolinko
Date: Tue Sep 29 23:23:11 2009
New Revision: 820123
URL: http://svn.apache.org/viewvc?rev=820123&view=rev
Log:
Do proper nesting of HTML tags and add DOCTYPE declaration.
Modified:
tomcat/trunk/webapps/manager/401.jsp
tomcat/trunk/webapps/manager/404.jsp
Modified: tomcat/trunk/webapps/manager/401.jsp
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/401.jsp?rev=820123&r1=820122&r2=820123&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/401.jsp (original)
+++ tomcat/trunk/webapps/manager/401.jsp Tue Sep 29 23:23:11 2009
@@ -17,10 +17,11 @@
<%
response.setHeader("WWW-Authenticate", "Basic realm=\"Tomcat Manager Application\"");
%>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>401 Unauthorized</title>
- <style>
+ <style type="text/css">
<!--
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}
H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
@@ -41,16 +42,17 @@
For example, to add the <tt>manager</tt> role to a user named
<tt>tomcat</tt> with a password of <tt>s3cret</tt>, add the following to the
config file listed above.
+ </p>
<pre>
<role rolename="manager"/>
<user username="tomcat" password="s3cret" roles="manager"/>
</pre>
- </p>
<p>
Note that for Tomcat 7 onwards, the roles required to use the manager
application were changed from the single <tt>manager</tt> role to the
following four roles. You will need to assign the role(s) required for
the functionality you wish to access.
+ </p>
<ul>
<li><tt>manager</tt> - allows access to the HTML GUI and the status
pages</li>
@@ -60,7 +62,6 @@
pages</li>
<li><tt>manager-status</tt> - allows access to the status pages only</li>
</ul>
- </p>
<p>
For more information - please see the
<a href="/docs/manager-howto.html">Manager App HOW-TO</a>.
Modified: tomcat/trunk/webapps/manager/404.jsp
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/404.jsp?rev=820123&r1=820122&r2=820123&view=diff
==============================================================================
--- tomcat/trunk/webapps/manager/404.jsp (original)
+++ tomcat/trunk/webapps/manager/404.jsp Tue Sep 29 23:23:11 2009
@@ -15,10 +15,11 @@
limitations under the License.
--%>
<%@ page import="org.apache.catalina.util.RequestUtil" %>
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>404 Not found</title>
- <style>
+ <style type="text/css">
<!--
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}
H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
@@ -39,12 +40,14 @@
The Manager application has been re-structured for Tomcat 7 onwards and some
of URLs have changed. All URLs used to access the Manager application should
now start with one of the following options:
+ </p>
<ul>
<li><%=request.getContextPath()%>/html for the HTML GUI</li>
<li><%=request.getContextPath()%>/text for the text interface</li>
<li><%=request.getContextPath()%>/jmxproxy for the JMX proxy</li>
<li><%=request.getContextPath()%>/status for the status pages</li>
</ul>
+ <p>
Note that the URL for the text interface has changed from
"<%=request.getContextPath()%>" to
"<%=request.getContextPath()%>/text".
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org