📄 index_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
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;
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=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\n");
out.write("\n");
out.write("<html>\n");
out.write("<head>\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\n");
out.write("<title>我的相册</title>\n");
out.write("<style type=\"text/css\">\n");
out.write("<!--\n");
out.write("body {\n");
out.write("\tbackground-image: url(bg09.jpg);\n");
out.write("}\n");
out.write(".style1 {\n");
out.write("\tcolor: #FF0000;\n");
out.write("\tfont-size: 24px;\n");
out.write("}\n");
out.write(".style2 {\n");
out.write("\tcolor: #669966;\n");
out.write("\tfont-size: 16px;\n");
out.write("}\n");
out.write(".style4 {\n");
out.write("\tfont-size: 14px;\n");
out.write("\tcolor: #333333;\n");
out.write("}\n");
out.write(".style5 {font-size: 14px}\n");
out.write(".style7 {color: #FF0000}\n");
out.write(".style8 {font-size: 14px; color: #FF0000; }\n");
out.write("-->\n");
out.write("</style></head>\n");
out.write("<body>\n");
out.write("<div align=\"center\" class=\"style1\">\n");
out.write(" <p>我的相册</p>\n");
out.write(" <p> </p>\n");
out.write(" <table width=\"200\" border=\"1\">\n");
out.write(" <tr>\n");
out.write(" <td><img alt=\"\" src=\"image/01.jpg\"></td>\n");
out.write(" <td><img alt=\"\" src=\"image/20.jpg\" width=\"140\" height=\"105\"></td>\n");
out.write(" <td><img alt=\"\" src=\"image/13.jpg\" width=\"140\" height=\"105\"></td>\n");
out.write(" <td><img alt=\"\" src=\"image/03.jpg\" width=\"140\" height=\"105\"></td>\n");
out.write(" </tr>\n");
out.write(" </table>\n");
out.write(" <script type=\"\" language=\"javascript\">\n");
out.write(" <!--\n");
out.write(" function CheckForm(TheForm) {\n");
out.write(" trimform(TheForm);\n");
out.write("\n");
out.write(" if (TheForm.user_name.value == \"\") {\n");
out.write(" alert(\"请填写您的帐号!\");\n");
out.write(" TheForm.user_name.focus();\n");
out.write(" return(false);\n");
out.write(" }\n");
out.write("\n");
out.write(" if (!chkpasswd(TheForm.password.value) ||\n");
out.write(" TheForm.password.length < 6 ||\n");
out.write(" TheForm.password.value == \"\") {\n");
out.write(" alert(\"请填写您的密码!\");\n");
out.write(" TheForm.password.focus();\n");
out.write(" return(false);\n");
out.write(" }\n");
out.write(" //-->\n");
out.write(" </script>\n");
out.write(" <p class=\"style2\">用户登录</p>\n");
out.write(" <form name=\"form1\" method=\"post\" action=\"pass.jsp\" onSubmit=\"return CheckForm(this)\">\n");
out.write(" <table width=\"310\" border=\"0\">\n");
out.write(" <tr>\n");
out.write(" <td width=\"85\"><div align=\"right\"><span class=\"style4\">用户名:</span></div></td>\n");
out.write(" <td width=\"209\"><div align=\"left\">\n");
out.write(" <input type=\"text\" name=\"user_name\">\n");
out.write(" </div></td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" <td class=\"style4\"><div align=\"right\">密 码:</div></td>\n");
out.write(" <td><div align=\"left\">\n");
out.write(" <input type=\"password\" name=\"password\">\n");
out.write(" </div></td>\n");
out.write(" </tr>\n");
out.write(" </table>\n");
out.write(" <p class=\"style2\">\n");
out.write(" <input type=\"submit\" name=\"Submit\" value=\"登录\">\n");
out.write(" \n");
out.write(" <input type=\"reset\" name=\"Submit2\" value=\"重置\">\n");
out.write("</p>\n");
out.write(" </form>\n");
out.write(" <p class=\"style2 style5\"><span class=\"style8\">如果您还没有注册,请<a href=\"register.jsp\">注册</a></span> <span class=\"style7\"> <span class=\"style5\"><a href=\"admin_log.jsp\">管理员登录</a></span></span></p>\n");
out.write(" <p> </p>\n");
out.write(" <p> </p>\n");
out.write("</div>\n");
out.write("<p align=\"left\"> </p>\n");
out.write("<p> </p>\n");
out.write("<p> </p>\n");
out.write("</body>\n");
out.write("</html>\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);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -