📄 index_jsp.java
字号:
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.List _jspx_dependants;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = 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;charSet=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("<html>\r\n");
out.write("\t<head>\r\n");
out.write("\t\t<title>Welcome to my Address book</title>\r\n");
out.write("\t <style type=\"text/css\">\r\n");
out.write("\t\t<!--\r\n");
out.write("\t\t.STYLE3 {\r\n");
out.write("\t\t\tfont-size: 30px;\r\n");
out.write("\t\t\tcolor: #FF0000;\r\n");
out.write("\t\t\tfont-weight: bold;\r\n");
out.write("\t\t}\r\n");
out.write("\t\t-->\r\n");
out.write("\t\t\t\t</style>\r\n");
out.write("\t</head>\r\n");
out.write("\t<body>\r\n");
out.write("\r\n");
out.write("\t\t<form action=\"\" method=\"get\">\r\n");
out.write("\t\t\t<table border=\"1\" align=\"center\" width=\"80%\" cellspacing=\"0\" bordercolor=\"#111111\" cellpadding=\"0\" style=\"border-collapse: collapse\">\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t<td colspan=\"7\">\r\n");
out.write("\t\t\t\t\t\t<table width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#66CCFF\">\r\n");
out.write("\t\t\t<tr>\r\n");
out.write("\t\t\t\t<th width=\"60%\" class=\"STYLE3\">Welcome to My Address Book</th>\r\n");
out.write("\t\t\t\t<td width=\"40%\"><img src=\"images/img_addrBook.gif\" width=\"341\" height=\"155\" /></td>\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t</table>\r\n");
out.write("\t\t\t\t\t</td>\r\n");
out.write("\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t<tr>\r\n");
out.write("\t\t\t\t\t<th height=\"25\">First Name</th>\r\n");
out.write("\t\t\t\t\t<th>Last Name</th>\r\n");
out.write("\t\t\t\t\t<th>Job Title</th>\r\n");
out.write("\t\t\t\t\t<th>Department</th>\r\n");
out.write("\t\t\t\t\t<th>Office Phone</th>\r\n");
out.write("\t\t\t\t\t<th>Mobile</th>\r\n");
out.write("\t\t\t\t\t<th>EMail</th>\r\n");
out.write("\t\t\t\t</tr>\r\n");
out.write("\t\t\t\t");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "displayAllInfo", out, true);
out.write("\r\n");
out.write("\t\t </table>\t\r\n");
out.write("\t\t</form>\r\n");
out.write("\t\t<p align=\"center\"><b><a href=\"ContactInfoForm.htm\">Add new Contact</a></b></p>\r\n");
out.write("\t</body>\r\n");
out.write("</html>");
} 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);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -