You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by na...@apache.org on 2001/09/23 01:55:47 UTC

cvs commit: jakarta-tomcat/src/admin/contextAdmin adminError.jsp contextList.jsp moduleList.jsp

nacho       01/09/22 16:55:47

  Modified:    src/admin/contextAdmin contextList.jsp moduleList.jsp
  Added:       src/admin/contextAdmin adminError.jsp
  Log:
  Addign a light error page to Admin app, trying to preclude
  stacktraces when Admin context is not trusted..
  cosmetics mostly (NfW)
  
  Revision  Changes    Path
  1.3       +1 -0      jakarta-tomcat/src/admin/contextAdmin/contextList.jsp
  
  Index: contextList.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/admin/contextAdmin/contextList.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- contextList.jsp	2000/12/27 21:41:31	1.2
  +++ contextList.jsp	2001/09/22 23:55:47	1.3
  @@ -1,4 +1,5 @@
   <html>
  +<%@ page errorPage="adminError.jsp" %>
   <%@ taglib uri="http://jakarta.apache.org/taglibs/tomcat_admin-1.0" 
              prefix="adm" %>
   
  
  
  
  1.2       +1 -0      jakarta-tomcat/src/admin/contextAdmin/moduleList.jsp
  
  Index: moduleList.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/admin/contextAdmin/moduleList.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- moduleList.jsp	2000/12/27 21:41:32	1.1
  +++ moduleList.jsp	2001/09/22 23:55:47	1.2
  @@ -1,4 +1,5 @@
   <html>
  +<%@ page errorPage="adminError.jsp" %>
   <%@ taglib uri="http://jakarta.apache.org/taglibs/tomcat_admin-1.0" 
              prefix="adm" %>
   
  
  
  
  1.1                  jakarta-tomcat/src/admin/contextAdmin/adminError.jsp
  
  Index: adminError.jsp
  ===================================================================
  <html>
  <%@ page isErrorPage="true" %>
  
  <!--
    Copyright (c) 1999 The Apache Software Foundation.  All rights 
    reserved.
  -->
  
  <head>
      <title>Admin Error</title>
  </head>
  
  <body bgcolor="white">
  <table border=0 cellspacing=5>
    <tr>
      <td><a href="/">
          <img SRC="../tomcat.gif" height=92 width=130 align=LEFT border=0 alt="Tomcat Home Page"></a>
      <td valign=center><h2>Tomcat Administration Tools</h2>
    </tr>
    <tr>
        <td valign=top align=center>
          <b><font face="Arial, Helvetica, sans-serif" size=-5>
          <a href="/">Tomcat Home Page</a>
          </b></font>
    </tr>
  </table>
  
  <br>
  
  <h3>Error in Admin WebApp, probably you doesn't have the Admin Context as trusted, follow instructions at <a href="..">Tomcat Admin Homepage</a> <br/></h3>
  
  </body>
  </html>