package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import models.UserBean;
public final class modify_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
static {
_jspx_dependants = new java.util.Vector(1);
_jspx_dependants.add("/WEB-INF/mytags.tld");
}
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_mytags_checklogin_nobody;
public java.util.List getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_jspx_tagPool_mytags_checklogin_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_mytags_checklogin_nobody.release();
}
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");
if (_jspx_meth_mytags_checklogin_0(_jspx_page_context))
return;
out.write('\r');
out.write('\n');
models.UserBean current = null;
synchronized (session) {
current = (models.UserBean) _jspx_page_context.getAttribute("current", PageContext.SESSION_SCOPE);
if (current == null){
current = new models.UserBean();
_jspx_page_context.setAttribute("current", current, PageContext.SESSION_SCOPE);
}
}
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>\r\n");
out.write("用户资料修改页面\r\n");
out.write("</title>\r\n");
out.write("</head>\r\n");
out.write("<body bgcolor=\"#ffffff\">\r\n");
out.write("<form name=\"modifyuserform\" class=\"registerform\" action=\"modifyuserservlet\">\r\n");
out.write("<p>用户资料修改</p>\r\n");
out.write("<p>账号:");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((models.UserBean)_jspx_page_context.findAttribute("current")).getId())));
out.write("<br />\r\n");
out.write(" 密码:");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((models.UserBean)_jspx_page_context.findAttribute("current")).getPassword())));
out.write("<br />\r\n");
out.write(" 真实姓名:<input name=\"txtname\" type=\"text\" id=\"txtname\" value=\"");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((models.UserBean)_jspx_page_context.findAttribute("current")).getName())));
out.write("\"/><br />\r\n");
out.write(" 性别:\r\n");
out.write(" ");
if(((UserBean)session.getAttribute("current")).getSex().equals("男"))
{
out.write("\r\n");
out.write(" <input type=\"radio\" name=\"sex\" class=\"sex\" value=\"男\" checked/>\r\n");
out.write(" 男\r\n");
out.write(" <input type=\"radio\" name=\"sex\" class=\"sex\" value=\"女\"/>\r\n");
out.write(" 女\r\n");
out.write(" ");
} else {
out.write("\r\n");
out.write(" <input type=\"radio\" name=\"sex\" class=\"sex\" value=\"男\"/>\r\n");
out.write(" 男\r\n");
out.write(" <input type=\"radio\" name=\"sex\" class=\"sex\" value=\"女\" checked/>\r\n");
out.write(" 女\r\n");
out.write(" ");
}
out.write("<br />\r\n");
out.write(" 地址:<input name=\"txtaddress\" type=\"text\" id=\"txtaddress\" value=\"");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((models.UserBean)_jspx_page_context.findAttribute("current")).getAddress())));
out.write("\"/>*<br />\r\n");
out.write(" 邮编:<input name=\"txtcode\" type=\"text\" id=\"txtcode\" value=\"");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((models.UserBean)_jspx_page_context.findAttribute("current")).getCode())));
out.write("\"/>*<br />\r\n");
out.write(" 电话:<input name=\"txttel\" type=\"text\" id=\"txttel\" value=\"");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((models.UserBean)_jspx_page_context.findAttribute("current")).getTel())));
out.write("\"/>*<br />\r\n");
out.write(" 电子邮件:<input name=\"txtemail\" type=\"text\" id=\"txtemail\" value=\"");
out.write(org.apache.jasper.runtime.JspRuntimeLibrary.toString((((models.UserBean)_jspx_page_context.findAttribute("current")).getEmail())));
out.write("\"/>*<br />\r\n");
out.write(" <input type=\"submit\" class=\"cmd1\" value=\"更新修改\"/>\r\n");
out.write(" <input type=\"reset\" class=\"cmd2\" value=\"清空\"/>\r\n");
out.write("</p>\r\n");
out.write("</form>\r\n");
out.write("<a href=\"login.jsp\">返回登陆页面</a>\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);
}
}
private boolean _jspx_meth_mytags_checklogin_0(PageContext _jspx_page_context)
throws Throwable {
PageContext pageContext = _jspx_page_context;
JspWriter out = _jspx_page_context.getOut();
// mytags:checklogin
tags.CheckLoginTag _jspx_th_mytags_checklogin_0 = (tags.CheckLoginTag) _jspx_tagPool_mytags_checklogin_nobody.get(tags.CheckLoginTag.class);
_jspx_th_mytags_checklogin_0.setPageContext(_jspx_page_context);
_jspx_th_mytags_checklogin_0.setParent(null);
int _jspx_eval_mytags_checklogin_0 = _jspx_th_mytags_checklogin_0.doStartTag();
if (_jspx_th_mytags_checklogin_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return true;
_jspx_tagPool_mytags_checklogin_nobody.reuse(_jspx_th_mytags_checklogin_0);
return false;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
JSP登陆/注册/修改信息/错误提示/修改样式/显示信息模块设计(JSP+SQL) (246个子文件)
modify_jsp.class 7KB
modify_jsp.class 6KB
strongtag_jsp.class 5KB
login_jsp.class 5KB
hellotag_jsp.class 5KB
DisplayOrders_jsp.class 4KB
strongtag_jsp.class 4KB
testjsp_jsp.class 4KB
index1_jsp.class 4KB
login_jsp.class 4KB
index1_jsp.class 4KB
hellotag_jsp.class 4KB
DisplayOrders_jsp.class 4KB
testjsp_jsp.class 4KB
index1_jsp.class 4KB
index1_jsp.class 4KB
beans_jsp.class 4KB
register_jsp.class 4KB
beans_jsp.class 4KB
DB.class 4KB
DB.class 4KB
register_jsp.class 3KB
err_jsp.class 3KB
err_jsp.class 3KB
UserDB.class 3KB
UserDB.class 3KB
ModifyUserServlet.class 3KB
ModifyUserServlet.class 3KB
RegisterServlet.class 2KB
RegisterServlet.class 2KB
Study_infoServlet.class 2KB
Study_infoServlet.class 2KB
DisplayOrdersTag.class 2KB
DisplayOrdersTag.class 2KB
LogServlet.class 2KB
LogServlet.class 2KB
UserBean.class 2KB
UserBean.class 2KB
LoginServlet.class 2KB
LoginServlet.class 2KB
Strong.class 2KB
Strong.class 2KB
HelloServlet.class 1KB
HelloServlet.class 1KB
GreetingTag.class 1KB
GreetingTag.class 1KB
CheckLoginTag.class 1009B
CheckLoginTag.class 1009B
LanguageBean.class 976B
LanguageBean.class 976B
Hello.class 876B
Hello.class 876B
OrdersDB.class 685B
OrdersDB.class 685B
mycss.css 85B
org.apache.jsp.dep2 27KB
servlets.dep2 9KB
tags.dep2 6KB
org.apache.jsp.study.dep2 5KB
models.dep2 5KB
test.dep2 687B
study_info.html 647B
study_err.html 196B
study_err.html~1~ 0B
study_info.html~1~ 0B
study_info.html~2~ 647B
study_info.html~3~ 647B
study_info.html~4~ 647B
modify_jsp.java 7KB
modify_jsp.java 6KB
strongtag_jsp.java 4KB
strongtag_jsp.java 4KB
login_jsp.java 4KB
index1_jsp.java 4KB
index1_jsp.java 4KB
hellotag_jsp.java 4KB
login_jsp.java 4KB
DisplayOrders_jsp.java 4KB
testjsp_jsp.java 3KB
hellotag_jsp.java 3KB
DisplayOrders_jsp.java 3KB
beans_jsp.java 3KB
register_jsp.java 3KB
DB.java 3KB
index1_jsp.java 3KB
index1_jsp.java 3KB
UserDB.java 3KB
testjsp_jsp.java 3KB
beans_jsp.java 3KB
register_jsp.java 3KB
RegisterServlet.java 2KB
err_jsp.java 2KB
err_jsp.java 2KB
ModifyUserServlet.java 2KB
DisplayOrdersTag.java 2KB
LoginServlet.java 2KB
LogServlet.java 2KB
Study_infoServlet.java 1KB
UserBean.java 1KB
HelloServlet.java 1KB
共 246 条
- 1
- 2
- 3
sitnan
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页