📄 register_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
import ArticleSharing.DBTools;
public final class register_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();
private static java.util.List _jspx_dependants;
private javax.el.ExpressionFactory _el_expressionfactory;
private org.apache.AnnotationProcessor _jsp_annotationprocessor;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
_jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
}
public void _jspDestroy() {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
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 {
response.setContentType("text/html; charset=utf-8");
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("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\n");
out.write(" <head>\n");
out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n");
out.write(" <title>会员注册</title>\n");
out.write(" <style type=\"text/css\">\n");
out.write(" <!--\n");
out.write(" .STYLE1 {\n");
out.write(" color: #FF0000;\n");
out.write(" font-weight: bold;\n");
out.write(" font-size: large;\n");
out.write(" }\n");
out.write(" body {\n");
out.write(" background-image: url(bdb9184ff956b920aec3abfe.jpg);\n");
out.write(" }\n");
out.write(" -->\n");
out.write(" </style>\n");
out.write(" </head>\n");
out.write(" \n");
out.write(" <body>\n");
out.write(" <form id=\"form1\" name=\"form1\" method=\"post\" action=\"reg_success.jsp?action=submit\">\n");
out.write(" <label><br />\n");
out.write(" 账号\n");
out.write(" <input name=\"user_name\" type=\"text\" value=\"\" maxlength=\"20\" />\n");
out.write(" </label>\n");
out.write(" <span class=\"STYLE1\"><font color=\"red\">*</font></span>\n");
out.write(" <label>\n");
out.write(" <input type=\"button\" name=\"check\" value=\"唯一性检查\" onClick=\"userCheck()\"> \n");
out.write(" </label>\n");
out.write(" <p>\n");
out.write(" <label></label>\n");
out.write(" <br />\n");
out.write(" 密码\n");
out.write(" <input name=\"password\" type=\"password\" id=\"password\" />\n");
out.write(" <span class=\"STYLE1\"><font color=\"red\">*</font></span>\n");
out.write(" 密码长度为6-20个字符\n");
out.write(" <br>\n");
out.write(" 确认\n");
out.write(" <input name=\"password_affirm\" type=\"password\" id=\"password_affirm\" />\n");
out.write(" <p>真实姓名 \n");
out.write(" <label>\n");
out.write(" <input name=\"realname\" type=\"text\" id=\"realname\" size=\"8\" />\n");
out.write(" </label>\n");
out.write(" <span class=\"STYLE1\"><font color=\"red\">*</font></span>\n");
out.write(" <p>\n");
out.write(" <label>性别:\n");
out.write(" <input type=\"radio\" name=\"sex\" value=\"0\"checked=\"checked\" />\n");
out.write(" 男</label>\n");
out.write(" <label></label>\n");
out.write(" <input type=\"radio\" name=\"sex\" value=\"1\" />\n");
out.write(" 女 </p>\n");
out.write(" <p>婚姻状况:\n");
out.write(" <label>\n");
out.write(" <input type=\"radio\" name=\"marriage\" value=\"0\" />\n");
out.write(" 已婚</label>\n");
out.write(" \n");
out.write(" <label>\n");
out.write(" <input type=\"radio\" name=\"marriage\" value=\"1\"checked=\"checked\" />\n");
out.write(" 未婚</label>\n");
out.write(" <br />\n");
out.write(" </p>\n");
out.write(" <p>学历:\n");
out.write(" <label>\n");
out.write(" <select name=\"education\" id=\"education\">\n");
out.write(" <option value=\"初中\">初中</option>\n");
out.write(" <option value=\"高中\">高中</option>\n");
out.write(" <option value=\"大学\">大学</option>\n");
out.write(" <option value=\"研究生\">研究生</option>\n");
out.write(" <option value=\"其它\">其它</option>\n");
out.write(" </select>\n");
out.write(" </label>\n");
out.write(" </p>\n");
out.write(" <p>职业:\n");
out.write(" <label>\n");
out.write(" <select name=\"job\" id=\"job\">\n");
out.write(" <option value=\"工程师\">工程师</option>\n");
out.write(" <option value=\"经理人\">经理人</option>\n");
out.write(" <option value=\"程序员\">程序员</option>\n");
out.write(" <option value=\"律师\">律师</option>\n");
out.write(" <option value=\"教师\">教师</option>\n");
out.write(" <option value=\"医生\">医生</option>\n");
out.write(" <option value=\"设计师\">设计师</option>\n");
out.write(" <option value=\"会计\">会计</option>\n");
out.write(" <option value=\"助理&文秘\">助理&文秘</option>\n");
out.write(" <option value=\"演艺人\">演艺人</option>\n");
out.write(" <option value=\"记者\">记者</option>\n");
out.write(" <option value=\"消防员\">消防员</option>\n");
out.write(" <option value=\"公务员\">公务员</option>\n");
out.write(" <option value=\"警察\">警察</option>\n");
out.write(" <option value=\"无业游民\">无业游民</option>\n");
out.write(" <option value=\"其它\">其它</option>\n");
out.write(" </select>\n");
out.write(" </label>\n");
out.write(" </p>\n");
out.write(" <p>血型:\n");
out.write(" <label>\n");
out.write(" <select name=\"blood_type\" id=\"blood_type\">\n");
out.write(" <option value=\"A\">A</option>\n");
out.write(" <option value=\"B\">B</option>\n");
out.write(" <option value=\"O\">O</option>\n");
out.write(" <option value=\"AB\">AB</option>\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -