📄 index_jsp.java
字号:
out.write(" </td>\r\n");
out.write(" <td align=\"left\" valign=\"top\"><b>");
out.print( application.getServerInfo() );
out.write("</b></td>\r\n");
out.write(" <td align=\"right\">\r\n");
out.write(" <a href=\"http://jakarta.apache.org/\">\r\n");
out.write("\t <img src=\"asf-logo-wide.gif\" height=\"51\" width=\"537\" alt=\"The Apache Software Foundation\"/>\r\n");
out.write("\t</a>\r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write("</table>\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\">\r\n");
out.write(" <tr>\r\n");
out.write("\t\t <th>Administration</th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write("\t\t <td class=\"menu\">\r\n");
out.write("\t\t <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("\r\n");
out.write("\t <br />\r\n");
out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\r\n");
out.write(" <tr>\r\n");
out.write("\t\t <th>Documentation</th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"menu\">\r\n");
out.write(" <a href=\"RELEASE-NOTES.txt\">Release Notes</a><br/>\r\n");
out.write(" <a href=\"docs/changelog.html\">Change Log</a><br/>\r\n");
out.write(" <a href=\"docs\">Tomcat Documentation</a><br/> \r\n");
out.write(" \r\n");
out.write("\t\t </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t \r\n");
out.write(" <br/>\r\n");
out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th>Tomcat Online</th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"menu\">\r\n");
out.write(" <a href=\"http://tomcat.apache.org/\">Home Page</a><br/>\r\n");
out.write("\t\t <a href=\"http://tomcat.apache.org/faq/\">FAQ</a><br/>\r\n");
out.write(" <a href=\"http://tomcat.apache.org/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=---&bugidtype=include&product=Tomcat+5&cmdtype=doit&order=Importance\">Open Bugs</a><br/>\r\n");
out.write(" <a href=\"http://mail-archives.apache.org/mod_mbox/tomcat-users/\">Users Mailing List</a><br/>\r\n");
out.write(" <a href=\"http://mail-archives.apache.org/mod_mbox/tomcat-dev/\">Developers Mailing List</a><br/>\r\n");
out.write(" <a href=\"irc://irc.freenode.net/#tomcat\">IRC</a><br/>\r\n");
out.write("\t\t \r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t \r\n");
out.write(" <br/>\r\n");
out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\r\n");
out.write(" <tr>\r\n");
out.write(" <th>Examples</th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"menu\">\r\n");
out.write(" <a href=\"examples/servlets/\">Servlets Examples</a><br/>\r\n");
out.write(" <a href=\"examples/jsp/\">JSP Examples</a><br/>\r\n");
out.write(" <a href=\"webdav/\">WebDAV capabilities</a><br/>\r\n");
out.write(" \t\t \r\n");
out.write(" </td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write("\t \r\n");
out.write(" <br/>\r\n");
out.write(" <table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"3\">\r\n");
out.write(" <tr>\r\n");
out.write("\t\t <th>Miscellaneous</th>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td class=\"menu\">\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(" \t\t \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 style=\"width:20px\"> </td>\r\n");
out.write("\t\r\n");
out.write(" <!-- Body -->\r\n");
out.write(" <td align=\"left\" valign=\"top\">\r\n");
out.write(" <p id=\"congrats\">If you're seeing this page via a web browser, it means you've setup Tomcat successfully. Congratulations!</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:</p>\r\n");
out.write(" <p class=\"code\">$CATALINA_HOME/webapps/ROOT/index.jsp</p>\r\n");
out.write("\t \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=\"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, 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 Tomcat project web site:</p>\r\n");
out.write("\r\n");
out.write(" <ul>\r\n");
out.write(" <li><b><a href=\"mailto:users@tomcat.apache.org\">users@tomcat.apache.org</a></b> for general questions related to configuring and using Tomcat</li>\r\n");
out.write(" <li><b><a href=\"mailto:dev@tomcat.apache.org\">dev@tomcat.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 id=\"footer\"><img src=\"tomcat-power.gif\" width=\"77\" height=\"80\" alt=\"Powered by Tomcat\"/><br/>\r\n");
out.write("\t \r\n");
out.write("\r\n");
out.write("\t Copyright © 1999-2006 Apache Software Foundation<br/>\r\n");
out.write(" All Rights Reserved\r\n");
out.write(" </p>\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)
try { out.clearBuffer(); } catch (java.io.IOException e) {}
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
_jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -