home *** CD-ROM | disk | FTP | other *** search
Wrap
Java Source | 2004-07-12 | 15.3 KB | 242 lines
package org.apache.jsp; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; public final class index_jsp extends org.apache.jasper.runtime.HttpJspBase implements org.apache.jasper.runtime.JspSourceDependent { private static java.util.Vector _jspx_dependants; public java.util.List getDependants() { return _jspx_dependants; } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; PageContext pageContext = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, false, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); out = pageContext.getOut(); _jspx_out = out; out.write("<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\r\n"); out.write("\r\n"); out.write("<html>\r\n"); out.write(" <head>\r\n"); out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\r\n"); out.write(" <title>"); out.print( application.getServerInfo() ); out.write("</title>\r\n"); out.write(" <style type=\"text/css\">\r\n"); out.write(" <!--\r\n"); out.write(" body {\r\n"); out.write(" color: #000000;\r\n"); out.write(" background-color: #FFFFFF;\r\n"); out.write(" font-family: Arial, \"Times New Roman\", Times;\r\n"); out.write(" font-size: 16px;\r\n"); out.write(" }\r\n"); out.write("\r\n"); out.write(" A:link {\r\n"); out.write(" color: blue\r\n"); out.write(" }\r\n"); out.write("\r\n"); out.write(" A:visited {\r\n"); out.write(" color: blue\r\n"); out.write(" }\r\n"); out.write("\r\n"); out.write(" td {\r\n"); out.write(" color: #000000;\r\n"); out.write(" font-family: Arial, \"Times New Roman\", Times;\r\n"); out.write(" font-size: 16px;\r\n"); out.write(" }\r\n"); out.write("\r\n"); out.write(" .code {\r\n"); out.write(" color: #000000;\r\n"); out.write(" font-family: \"Courier New\", Courier;\r\n"); out.write(" font-size: 16px;\r\n"); out.write(" }\r\n"); out.write(" -->\r\n"); out.write(" </style>\r\n"); out.write("</head>\r\n"); out.write("\r\n"); out.write("<body>\r\n"); out.write("\r\n"); out.write("<!-- Header -->\r\n"); out.write("<table width=\"100%\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td align=\"left\" width=\"130\"><a href=\"http://jakarta.apache.org/tomcat/index.html\"><img src=\"tomcat.gif\" height=\"92\" width=\"130\" border=\"0\" alt=\"The Mighty Tomcat - MEOW!\"></td>\r\n"); out.write(" <td align=\"left\" valign=\"top\">\r\n"); out.write(" <table>\r\n"); out.write(" <tr><td align=\"left\" valign=\"top\"><b>"); out.print( application.getServerInfo() ); out.write("</b></td></tr>\r\n"); out.write(" </table>\r\n"); out.write(" </td>\r\n"); out.write(" <td align=\"right\"><a href=\"http://jakarta.apache.org/\"><img src=\"jakarta-banner.gif\" height=\"48\" width=\"505\" border=\"0\" alt=\"The Jakarta Project\"></a></td>\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write("<br>\r\n"); out.write("\r\n"); out.write("<table>\r\n"); out.write(" <tr>\r\n"); out.write("\r\n"); out.write(" <!-- Table of Contents -->\r\n"); out.write(" <td valign=\"top\">\r\n"); out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\" bordercolor=\"#000000\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#D2A41C\" bordercolor=\"#000000\" align=\"left\" nowrap>\r\n"); out.write(" <font face=\"Verdana\" size=\"+1\"><i>Administration</i> </font>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#FFDC75\" bordercolor=\"#000000\" nowrap>\r\n"); out.write(" <a href=\"manager/status\">Status</a><br>\r\n"); out.write(" <a href=\"admin\">Tomcat Administration</a><br>\r\n"); out.write(" <a href=\"manager/html\">Tomcat Manager</a><br>\r\n"); out.write(" \r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table>\r\n"); out.write(" <br>\r\n"); out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\" bordercolor=\"#000000\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#D2A41C\" bordercolor=\"#000000\" align=\"left\" nowrap>\r\n"); out.write(" <font face=\"Verdana\" size=\"+1\"><i>Documentation</i> </font>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#FFDC75\" bordercolor=\"#000000\" nowrap>\r\n"); out.write(" <a href=\"RELEASE-NOTES.txt\">Release Notes</a><br>\r\n"); out.write(" <a href=\"tomcat-docs\">Tomcat Documentation</a><br>\r\n"); out.write(" \r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table>\r\n"); out.write(" <br>\r\n"); out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\" bordercolor=\"#000000\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#D2A41C\" bordercolor=\"#000000\" align=\"left\" nowrap>\r\n"); out.write(" <font face=\"Verdana\" size=\"+1\"><i>Tomcat Online</i> </font>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#FFDC75\" bordercolor=\"#000000\" nowrap>\r\n"); out.write(" <a href=\"http://jakarta.apache.org/tomcat/\">Home Page</a><br>\r\n"); out.write(" <a href=\"http://jakarta.apache.org/tomcat/bugreport.html\">Bug Database</a><br>\r\n"); out.write(" <a href=\"http://issues.apache.org/bugzilla/buglist.cgi?bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=RESOLVED&resolution=LATER&resolution=REMIND&resolution=---&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&product=Tomcat+5&short_desc=&short_desc_type=allwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=%27Importance%27\">Open Bugs</a><br>\r\n"); out.write(" <a href=\"http://nagoya.apache.org/eyebrowse/SummarizeList?listId=88\">Users Mailing List</a><br>\r\n"); out.write(" <a href=\"http://nagoya.apache.org/eyebrowse/SummarizeList?listId=46\">Developers Mailing List</a><br>\r\n"); out.write(" <a href=\"irc://irc.freenode.net/#tomcat\">IRC</a><br>\r\n"); out.write(" \r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table>\r\n"); out.write(" <br>\r\n"); out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\" bordercolor=\"#000000\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#D2A41C\" bordercolor=\"#000000\" align=\"left\" nowrap>\r\n"); out.write(" <font face=\"Verdana\" size=\"+1\"><i>Examples</i> </font>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#FFDC75\" bordercolor=\"#000000\" nowrap>\r\n"); out.write(" <a href=\"jsp-examples/\">JSP Examples</a><br>\r\n"); out.write(" <a href=\"servlets-examples/\">Servlet Examples</a><br>\r\n"); out.write(" <a href=\"webdav/\">WebDAV capabilities</a><br>\r\n"); out.write(" \r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table>\r\n"); out.write(" <br>\r\n"); out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\" bordercolor=\"#000000\">\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#D2A41C\" bordercolor=\"#000000\" align=\"left\" nowrap>\r\n"); out.write(" <font face=\"Verdana\" size=\"+1\"><i>Miscellaneous</i> </font>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" <tr>\r\n"); out.write(" <td bgcolor=\"#FFDC75\" bordercolor=\"#000000\" nowrap>\r\n"); out.write(" <a href=\"http://java.sun.com/products/jsp\">Sun's Java Server Pages Site</a><br>\r\n"); out.write(" <a href=\"http://java.sun.com/products/servlet\">Sun's Servlet Site</a><br>\r\n"); out.write(" \r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write(" </table>\r\n"); out.write(" </td>\r\n"); out.write("\r\n"); out.write(" <td> </td>\r\n"); out.write("\r\n"); out.write(" <!-- Body -->\r\n"); out.write(" <td align=\"left\" valign=\"top\">\r\n"); out.write(" <p><center><b>If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!</b></center></p>\r\n"); out.write("\r\n"); out.write(" <p>As you may have guessed by now, this is the default Tomcat home page. It can be found on the local filesystem at:\r\n"); out.write(" <blockquote>\r\n"); out.write(" <p class=\"code\">$CATALINA_HOME/webapps/ROOT/index.jsp</p>\r\n"); out.write(" </blockquote>\r\n"); out.write(" </p>\r\n"); out.write("\r\n"); out.write(" <p>where \"$CATALINA_HOME\" is the root of the Tomcat installation directory. If you're seeing this page, and you don't think you should be, then either you're either a user who has arrived at new installation of Tomcat, or you're an administrator who hasn't got his/her setup quite right. Providing the latter is the case, please refer to the <a href=\"tomcat-docs\">Tomcat Documentation</a> for more detailed setup and administration information than is found in the INSTALL file.</p>\r\n"); out.write("\r\n"); out.write(" <p><b>NOTE: For security reasons, using the administration webapp\r\n"); out.write(" is restricted to users with role \"admin\". The manager webapp\r\n"); out.write(" is restricted to users with role \"manager\".</b>\r\n"); out.write(" Users are defined in <code>$CATALINA_HOME/conf/tomcat-users.xml</code>.</p>\r\n"); out.write("\r\n"); out.write(" <p>Included with this release are a host of sample Servlets and JSPs (with associated source code), extensive documentation (including the Servlet 2.4 and JSP 2.0 API JavaDoc), and an introductory guide to developing web applications.</p>\r\n"); out.write("\r\n"); out.write(" <p>Tomcat mailing lists are available at the Jakarta project web site:</p>\r\n"); out.write("\r\n"); out.write(" <ul>\r\n"); out.write(" <li><b><a href=\"mailto:tomcat-user-subscribe@jakarta.apache.org\">tomcat-user@jakarta.apache.org</a></b> for general questions related to configuring and using Tomcat</li>\r\n"); out.write(" <li><b><a href=\"mailto:tomcat-dev-subscribe@jakarta.apache.org\">tomcat-dev@jakarta.apache.org</a></b> for developers working on Tomcat</li>\r\n"); out.write(" </ul>\r\n"); out.write("\r\n"); out.write(" <p>Thanks for using Tomcat!</p>\r\n"); out.write("\r\n"); out.write(" <p align=\"right\"><font size=-1><img src=\"tomcat-power.gif\" width=\"77\" height=\"80\"></font><br>\r\n"); out.write(" \r\n"); out.write(" <font size=-1>Copyright © 1999-2003 Apache Software Foundation</font><br>\r\n"); out.write(" <font size=-1>All Rights Reserved</font> <br>\r\n"); out.write(" </p>\r\n"); out.write(" <p align=\"right\"> </p>\r\n"); out.write("\r\n"); out.write(" </td>\r\n"); out.write("\r\n"); out.write(" </tr>\r\n"); out.write("</table>\r\n"); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>\r\n"); } catch (Throwable t) { if (!(t instanceof SkipPageException)){ out = _jspx_out; if (out != null && out.getBufferSize() != 0) out.clearBuffer(); if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context); } } }