n)pageContext.getAttribute("user"); //[ /modimy.jsp; Line: 13]
if (user == null) { // begin 'user' synchronized instantiation block... //[ /modimy.jsp; Line: 13]
user = new org.pan.web.usermn(); //[ /modimy.jsp; Line: 13]
pageContext.setAttribute("user", user); //[ /modimy.jsp; Line: 13]
} // end synchronized bean instantiation block... //[ /modimy.jsp; Line: 13]
} // end synchronized bean scope block... //[ /modimy.jsp; Line: 13]
} // end bean instantiation block... //[ /modimy.jsp; Line: 13]
out.print("\r\n");
//[ /modimy.jsp; Line: 14]
long userid=0; //[ /modimy.jsp; Line: 15]
String mesg = ""; //[ /modimy.jsp; Line: 16]
//[ /modimy.jsp; Line: 17]
String submit = (String)request.getParameter("submit"); //[ /modimy.jsp; Line: 18]
if (submit!=null && !submit.equals("")){ //[ /modimy.jsp; Line: 19]
if(user.update(request)){ //[ /modimy.jsp; Line: 20]
mesg = "用户资料修改成功!"; //[ /modimy.jsp; Line: 21]
}else { //[ /modimy.jsp; Line: 22]
mesg = "对不起,你提交的参数有错误!" + user.getMessage();; //[ /modimy.jsp; Line: 23]
} //[ /modimy.jsp; Line: 24]
} //[ /modimy.jsp; Line: 25]
String UserId = (String)session.getAttribute("userid"); //[ /modimy.jsp; Line: 26]
if (UserId!=null && !UserId.equals("")) { //[ /modimy.jsp; Line: 27]
try { //[ /modimy.jsp; Line: 28]
userid = Long.parseLong(UserId); //[ /modimy.jsp; Line: 29]
if (!user.getUserinfo(userid)) { //[ /modimy.jsp; Line: 30]
mesg = "要修改的用户信息不存在"; //[ /modimy.jsp; Line: 31]
} //[ /modimy.jsp; Line: 32]
} catch(Exception e) { //[ /modimy.jsp; Line: 33]
mesg = "该用户号不存在!"; //[ /modimy.jsp; Line: 34]
} //[ /modimy.jsp; Line: 35]
} //[ /modimy.jsp; Line: 36]
//[ /modimy.jsp; Line: 37]
//[ /modimy.jsp; Line: 38]
out.print("\r\n<html>\r\n<head>\r\n<title>好易多网络电子书店修改个人信息</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<script language=\"javascript\">\r\n\r\nfunction checkform() {\r\n\tif (document.form1.username.value==\"\"){\r\n\t\talert(\"用户名不能为空\");\r\n\t\tdocument.form1.username.focus();\r\n\t\treturn false;\r\n\t}\r\n\tif (document.form1.passwd.value==\"\"){\r\n\t\talert(\"用户密码不能为空\");\r\n\t\tdocument.form1.passwd.focus();\r\n\t\treturn false;\r\n\t}\r\n\tif (document.form1.passwd.value!=document.form1.passconfirm.value){\r\n\t\talert(\"确认密码不相符!\");\r\n\t\tdocument.form1.passconfirm.focus();\r\n\t\treturn false;\r\n\t}\r\n\t\r\n\treturn true;\r\n}\r\n\r\n</script>\r\n<link rel=\"stylesheet\" href=\"books.css\" type=\"text/css\">\r\n</head>\r\n\r\n<body bgcolor=\"#FFCC99\" text=\"#000000\">\r\n<div align=\"center\">\r\n <table width=\"750\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">\r\n <tr> \r\n <td width=\"120\" align=\"center\"><img src=\"images/Img20625.jpg\" width=\"50\" height=\"50\"><br>\r\n <font color=\"#0066CC\">好易多书店</font></td>\r\n <td align=\"center\"><img src=\"images/baners2.gif\" width=\"468\" ");
out.print("height=\"60\"></td>\r\n <td align=\"center\" width=\"80\"><a href=\"#\">本站公告</a><br>\r\n <br>\r\n </td>\r\n </tr>\r\n </table>\r\n\r\n <table width=\"750\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">\r\n <tr> \r\n <td width=\"200\"> </td>\r\n <td width=\"55\"><a href=\"index.jsp\">首页</a></td>\r\n <td width=\"100\"><a href=\"booklist.jsp\">在线购物</a></td>\r\n <td width=\"100\"><a href=\"shoperlist.jsp\">我的购物车</a></td>\r\n <td width=\"100\"><a href=\"userinfo.jsp\">用户信息</a></td>\r\n <td> </td>\r\n </tr>\r\n </table>\r\n <br>\r\n <table width=\"750\" border=\"0\" cellspacing=\"1\" cellpadding=\"1\">\r\n <tr valign=\"top\"> \r\n <td width=\"186\" align=\"center\"> \r\n <table width=\"100%\" border=\"0\" cellspacing=\"1\"