package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
public final class Register_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=gb2312");
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("\r\n");
out.write("<html>\r\n");
out.write("<script type=\"text/javascript\">\r\n");
out.write(" function CheckInput()\r\n");
out.write(" {\r\n");
out.write(" if(myform.Username.value==\"\")\r\n");
out.write(" {\r\n");
out.write(" alert(\"用户名输入不能为空!\")\r\n");
out.write(" myform.Username.focus();\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" if(myform.Password.value==\"\")\r\n");
out.write(" {\r\n");
out.write(" alert(\"密码不能为空!\")\r\n");
out.write(" myform.Password.focus();\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" if(myform.Password.value!=myform.Password2.value)\r\n");
out.write(" {\r\n");
out.write(" alert(\"两次输入的密码必须一致!\")\r\n");
out.write(" myform.Password.focus();\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write(" }\r\n");
out.write(" </SCRIPT>\r\n");
out.write(" <head>\r\n");
out.write("<title>用户注册</title>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"></head>\r\n");
out.write("<body bgcolor=\"#66CCFF\">\r\n");
out.write("\r\n");
out.write(" <form name=\"myform\" onSubmit=\"return CheckInput()\" method=\"post\" action=\"adduser.jsp\">\r\n");
out.write(" <p><br>\r\n");
out.write(" </p>\r\n");
out.write(" <table width=\"748\" align=\"center\" border=\"1\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"\" background=\"image/bg1.png\"><table width=\"44%\" height=\"242\"0>\r\n");
out.write(" <tr align=\"center\">\r\n");
out.write(" <td colspan=\"2\" align=\"center\"><p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p><font size=\"4\"> 用 户 注 册</font> </p></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td width=\"23%\" align=\"right\"><font size=\"2\">用户名</font></td>\r\n");
out.write(" <td width=\"77%\" align=\"left\"><font size=\"2\">\r\n");
out.write(" <input name=\"Username\" type=\"text\" id=\"Username\">\r\n");
out.write(" * </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\"><font size=\"2\">密码</font></td>\r\n");
out.write(" <td align=\"left\"><font size=\"2\">\r\n");
out.write(" <input name=\"Password\" type=\"password\" id=\"Password\">\r\n");
out.write(" * </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\"><font size=\"2\">密码确认</font></td>\r\n");
out.write(" <td align=\"left\"><font size=\"2\">\r\n");
out.write(" <input name=\"Password2\" type=\"password\" id=\"Password2\">\r\n");
out.write(" * </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"43\" align=\"right\"><font size=\"2\">电子邮件</font></td>\r\n");
out.write(" <td align=\"left\"><font size=\"2\">\r\n");
out.write(" <input name=\"Email\" type=\"text\" id=\"Email\">\r\n");
out.write(" * </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"50\" align=\"right\"><font size=\"2\">问题</font></td>\r\n");
out.write(" <td align=\"left\"><font size=\"2\">\r\n");
out.write(" <select name=\"Question\" id=\"Question\">\r\n");
out.write(" <option value=\"0\" selected>你最爱的宠物</option>\r\n");
out.write(" <option value=\"1\">你最爱的老师的名字</option>\r\n");
out.write(" <option value=\"2\">你最喜欢的品牌</option>\r\n");
out.write(" </select>\r\n");
out.write(" </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td align=\"right\"><font size=\"2\">回答</font></td>\r\n");
out.write(" <td align=\"left\"><font size=\"2\">\r\n");
out.write(" <input name=\"Reply\" type=\"text\" id=\"Reply\">\r\n");
out.write(" </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"23\" align=\"center\"> </td>\r\n");
out.write(" <td align=\"left\"><font size=\"2\">\r\n");
out.write(" <input name=\"submit\" type=\"submit\" value=\"申请\">\r\n");
out.write(" <input name=\"reset\" type=\"reset\" value=\"取消\">\r\n");
out.write(" </font></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <p> </p>\r\n");
out.write(" <br>\r\n");
out.write("</form>\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);
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
在系统设计实现中用到的Java技术,包括Jsp,JavaBean和JDBC;数据库连接池技术和开发过程中遇到的难点技术包括Jsp中文处理,动态生成Session,随机验证码等。对要实现的自测系统作系统分析,给出自测系统的总体框架,从业务角度着重介绍客户端、服务器端的功能划分和流程,进一步阐述了在线自测系统设计与实现过程,包括:用户登录模块,用户注册模块,用户信息修改,出卷和在线自测模块,在线批改模块,给出了部分关键代码。
资源推荐
资源详情
资源评论
收起资源包目录
exam1.rar (73个子文件)
exam1
kaoshi.jsp 3KB
login.jsp 3KB
view.jsp 2KB
.project 440B
Register.jsp 3KB
WEB-INF
.cvsignore 7B
src
MyBean
dbcon.java 1KB
classes
MyBean
dbcon.class 2KB
.cvsignore 4B
modifyuser.jsp 3KB
index.jsp 874B
.settings
chujuan.jsp 2KB
kaoshi1.jsp 3KB
image
5.png 124KB
untitled4.bmp 26KB
bg2.bmp 356KB
3.png 49KB
bg4.png 32KB
bg1.bmp 748KB
bg1.png 206KB
bg2.png 197KB
Thumbs.db 94KB
untitled2.bmp 57KB
1.bmp 607KB
bg3.bmp 29KB
untitled.bmp 26KB
untitled3.bmp 26KB
6.png 58KB
database
try 1.27MB
work
org
apache
jsp
Register_jsp.class 6KB
kaoshi1_jsp.java 6KB
chujuan_jsp.java 6KB
top_jsp.java 3KB
chujuan_jsp.class 6KB
kaoshi_jsp.java 6KB
modifyuser_jsp.class 7KB
adduser_jsp.java 3KB
main_jsp.class 5KB
adduser_jsp.class 4KB
check_jsp.java 6KB
view_jsp.class 5KB
check_jsp.class 6KB
image_jsp.java 4KB
left_jsp.java 5KB
login_jsp.class 6KB
view_jsp.java 4KB
kaoshi1_jsp.class 7KB
checkwrong_jsp.java 5KB
left_jsp.class 5KB
top_jsp.class 4KB
Register_jsp.java 7KB
checkwrong_jsp.class 5KB
modifypsd_jsp.class 7KB
modifyuser_jsp.java 6KB
main_jsp.java 4KB
login_jsp.java 6KB
kaoshi_jsp.class 7KB
index_jsp.java 3KB
index_jsp.class 4KB
image_jsp.class 5KB
modifypsd_jsp.java 7KB
tldCache.ser 44B
image.jsp 2KB
top.jsp 784B
adduser.jsp 1KB
.tomcatplugin 355B
left.jsp 2KB
main.jsp 2KB
Style.css 10KB
check.jsp 2KB
.classpath 539B
checkwrong.jsp 2KB
modifypsd.jsp 3KB
共 73 条
- 1
资源评论
happyfyshan
- 粉丝: 10
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功