⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _userinfo__jsp.java

📁 一套大型Office网络办公系统
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
if ((username==null)||(userpassword==null)||(newpwd==null)) {  errmsg="请输入用户名及密码";
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      whereTo="myinfo.jsp?pages=2&errmsg="+errmsg;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.forward(whereTo);
      if (true) return;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      }  //'end ifif (!user.checkUserPassword(username,userpassword)) {  errmsg="密码错误!";
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      whereTo="myinfo.jsp?pages=2&errmsg="+errmsg;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.forward(whereTo);
      if (true) return;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      }else{user.changeUserPassword(username,newpwd);  errmsg="密码修改成功!请记住您的密码!";
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      whereTo="myinfo.jsp?pages=2&errmsg="+errmsg;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.forward(whereTo);
      if (true) return;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      }  //end ifcheckUserPasswor......}  //' method=2 end if
      pageContext.write(_jsp_string16, 0, _jsp_string16.length);
      if (method==3) {  // then//'method=3   '用户资料修改username=request.getParameter("username");userpassword=request.getParameter("userpassword");username=username.trim();userpassword=userpassword.trim();tmpbyte=username.getBytes("ISO8859_1");username=new String(tmpbyte);if ((username==null)||(userpassword=="")) {  errmsg="请输入用户名及密码";
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      whereTo="myinfo.jsp?pages=1&errmsg="+errmsg;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.forward(whereTo);
      if (true) return;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      }  //'end if if ((username==null)||(userpassword==""))...........if (!user.checkUserPassword(username,userpassword)) {  errmsg="密码错误!";
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      whereTo="myinfo.jsp?pages=1&errmsg="+errmsg;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.forward(whereTo);
      if (true) return;
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      }else  {     userid=user.getUserId();     username=user.getUserName();	 useremail=user.getUserEmail();	 userhomepage=user.getUserHomepage();	 hpname=user.getUserHomepagename();	 usersex=user.getUserSex();	 comefrom=user.getUserComefrom();	 userclass=user.getUserClass();	 usersign=user.getUserSign();     userbirthday=user.getUserBirthday();
      pageContext.write(_jsp_string17, 0, _jsp_string17.length);
      out.print((username));
      pageContext.write(_jsp_string18, 0, _jsp_string18.length);
      out.print((useremail));
      pageContext.write(_jsp_string19, 0, _jsp_string19.length);
      out.print((userhomepage));
      pageContext.write(_jsp_string20, 0, _jsp_string20.length);
      out.print((hpname));
      pageContext.write(_jsp_string21, 0, _jsp_string21.length);
      out.print((userbirthday));
      pageContext.write(_jsp_string22, 0, _jsp_string22.length);
      if (usersex=="男") {
      pageContext.write(_jsp_string23, 0, _jsp_string23.length);
      } //'end if
      pageContext.write(_jsp_string24, 0, _jsp_string24.length);
      if (usersex=="女") {
      pageContext.write(_jsp_string23, 0, _jsp_string23.length);
      } //'end if
      pageContext.write(_jsp_string25, 0, _jsp_string25.length);
      out.print((comefrom));
      pageContext.write(_jsp_string26, 0, _jsp_string26.length);
      out.print((usersign));
      pageContext.write(_jsp_string27, 0, _jsp_string27.length);
      out.print((userid));
      pageContext.write(_jsp_string28, 0, _jsp_string28.length);
      out.print((username));
      pageContext.write(_jsp_string29, 0, _jsp_string29.length);
                          }  //'end if                    
      pageContext.write(_jsp_string30, 0, _jsp_string30.length);
      }  //'end if
      pageContext.write(_jsp_string31, 0, _jsp_string31.length);
    } catch (java.lang.Throwable _jsp_e) {
      pageContext.handlePageException(_jsp_e);
    } finally {
      JspFactory.getDefaultFactory().releasePageContext(pageContext);
    }
  }

  private com.caucho.java.LineMap _caucho_line_map;
  private java.util.ArrayList _caucho_depends = new java.util.ArrayList();

  public boolean _caucho_isModified()
  {
    if (_caucho_isDead)
      return true;
    if (com.caucho.util.CauchoSystem.getVersionId() != 2058990000)
      return true;
    for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
      com.caucho.vfs.Depend depend;
      depend = (com.caucho.vfs.Depend) _caucho_depends.get(i);
      if (depend.isModified())
        return true;
    }
    return false;
  }

  public long _caucho_lastModified()
  {
    return 0;
  }

  public com.caucho.java.LineMap _caucho_getLineMap()
  {
    return _caucho_line_map;
  }

  public void destroy()
  {
      _caucho_isDead = true;
      super.destroy();
  }

  public void init(com.caucho.java.LineMap lineMap,
                   com.caucho.vfs.Path appDir)
    throws javax.servlet.ServletException
  {
    com.caucho.vfs.Path resinHome = com.caucho.util.CauchoSystem.getResinHome();
    com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
    mergePath.addMergePath(appDir);
    mergePath.addMergePath(resinHome);
    mergePath.addClassPath(getClass().getClassLoader());
    _caucho_line_map = new com.caucho.java.LineMap("_userinfo__jsp.java", "d:\\guestbook\\jsp-access\\userinfo.jsp");
    _caucho_line_map.add("/userinfo.jsp", 1, 1);
    _caucho_line_map.add("/incdb.jsp", 2, 1);
    _caucho_line_map.add("d:\\guestbook\\jsp-access\\userinfo.jsp", 3, 1);
    _caucho_line_map.add("/userinfo.jsp", 1, 36);
    _caucho_line_map.add("/incdb.jsp", 2, 38);
    _caucho_line_map.add("d:\\guestbook\\jsp-access\\userinfo.jsp", 3, 44);
    _caucho_line_map.add(5, 52);
    _caucho_line_map.add(42, 102);
    _caucho_line_map.add(107, 232);
    _caucho_line_map.add(108, 234);
    _caucho_line_map.add(109, 237);
    _caucho_line_map.add(112, 239);
    _caucho_line_map.add(123, 261);
    _caucho_line_map.add(124, 263);
    _caucho_line_map.add(125, 266);
    _caucho_line_map.add(130, 276);
    _caucho_line_map.add(131, 278);
    _caucho_line_map.add(132, 281);
    _caucho_line_map.add(154, 307);
    _caucho_line_map.add(158, 309);
    _caucho_line_map.add(162, 311);
    _caucho_line_map.add(166, 313);
    _caucho_line_map.add(170, 315);
    _caucho_line_map.add(174, 317);
    _caucho_line_map.add(178, 319);
    _caucho_line_map.add(182, 321);
    _caucho_line_map.add(190, 323);
    _caucho_line_map.add(202, 325);
    _caucho_line_map.add(205, 329);
    _caucho_line_map.add(225, 369);
    _caucho_line_map.add(226, 371);
    _caucho_line_map.add(227, 374);
    _caucho_line_map.add(233, 386);
    _caucho_line_map.add(234, 388);
    _caucho_line_map.add(235, 391);
    _caucho_line_map.add(241, 403);
    _caucho_line_map.add(242, 405);
    _caucho_line_map.add(243, 408);
    _caucho_line_map.add(248, 416);
    _caucho_line_map.add(263, 446);
    _caucho_line_map.add(264, 448);
    _caucho_line_map.add(265, 451);
    _caucho_line_map.add(271, 463);
    _caucho_line_map.add(272, 465);
    _caucho_line_map.add(273, 468);
    _caucho_line_map.add(306, 496);
    _caucho_line_map.add(310, 498);
    _caucho_line_map.add(315, 500);
    _caucho_line_map.add(319, 502);
    _caucho_line_map.add(324, 504);
    _caucho_line_map.add(329, 506);
    _caucho_line_map.add(329, 508);
    _caucho_line_map.add(329, 510);
    _caucho_line_map.add(329, 512);
    _caucho_line_map.add(334, 514);
    _caucho_line_map.add(344, 516);
    _caucho_line_map.add(360, 518);
    _caucho_line_map.add(360, 520);
    _caucho_line_map.add(367, 522);
    _caucho_line_map.add(372, 530);
    com.caucho.vfs.Depend depend;
    depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/guestbook/jsp-access/incdb.jsp"), 972283860000L, 251L);
    _caucho_depends.add(depend);
    depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/guestbook/jsp-access/userinfo.jsp"), 1006568996000L, 14319L);
    _caucho_depends.add(depend);
  }

  private static byte []_jsp_string3;
  private static byte []_jsp_string18;
  private static byte []_jsp_string11;
  private static byte []_jsp_string31;
  private static byte []_jsp_string0;
  private static byte []_jsp_string26;
  private static byte []_jsp_string28;
  private static byte []_jsp_string16;
  private static byte []_jsp_string2;
  private static byte []_jsp_string24;
  private static byte []_jsp_string6;
  private static byte []_jsp_string8;
  private static byte []_jsp_string7;
  private static byte []_jsp_string30;
  private static byte []_jsp_string4;
  private static byte []_jsp_string19;
  private static byte []_jsp_string17;
  private static byte []_jsp_string9;
  private static byte []_jsp_string27;
  private static byte []_jsp_string15;
  private static byte []_jsp_string1;
  private static byte []_jsp_string14;
  private static byte []_jsp_string23;
  private static byte []_jsp_string29;
  private static byte []_jsp_string5;
  private static byte []_jsp_string13;
  private static byte []_jsp_string10;
  private static byte []_jsp_string20;
  private static byte []_jsp_string21;
  private static byte []_jsp_string22;
  private static byte []_jsp_string12;
  private static byte []_jsp_string25;
  static {
    try {
      _jsp_string3 = "\r\n \r\n<html>\r\n\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<meta name=\"GENERATOR\" content=\"Microsoft FrontPage 4.0\">\r\n<meta name=\"ProgId\" content=\"FrontPage.Editor.Document\">\r\n<title>New Page 1</title>\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"css/css02.css\">\r\n</head>\r\n\r\n<body>\r\n".getBytes("GB2312");
      _jsp_string18 = "</td>                        \r\n                  </tr>                        \r\n                  <tr>                        \r\n                    <td width=\"30%\" align=\"right\">E_MAIL</td>                        \r\n                    <td width=\"70%\"> <input class=\"intext\" type=\"text\" name=\"useremail\" size=\"30\" value=\"".getBytes("GB2312");
      _jsp_string11 = "</td> \r\n                </tr> \r\n                <tr> \r\n                  <td width=\"30%\" align=\"right\">性别:</td>  \r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string31 = "                          \r\n<!------------------------------------------------------------------>                       \r\n\r\n\r\n</body>\r\n</html>".getBytes("GB2312");
      _jsp_string0 = "\r\n".getBytes("GB2312");
      _jsp_string26 = "\">                                                                                                                                   \r\n                    </td>                       \r\n                  </tr>                       \r\n                  <tr>                       \r\n                    <td width=\"30%\" align=\"right\">签名:</td>                       \r\n                    <td width=\"70%\"></td>                       \r\n                  </tr>                       \r\n                  <tr>                       \r\n                    <td width=\"30%\" align=\"right\"></td>                       \r\n                    <td width=\"70%\">                         \r\n              <textarea class=\"intext\" rows=\"4\" name=\"usersign\" cols=\"36\">".getBytes("GB2312");
      _jsp_string28 = "\"><input type=\"hidden\" name=\"method\" value=\"5\"><input type=\"hidden\" name=\"username\" value=\"".getBytes("GB2312");
      _jsp_string16 = "\r\n<!------------------------------------------------------------------> \r\n".getBytes("GB2312");
      _jsp_string2 = "\r\n<!--导入结束-->\r\n".getBytes("GB2312");
      _jsp_string24 = ">男<input type=\"radio\" value=\"女\" name=\"usersex\" ".getBytes("GB2312");
      _jsp_string6 = "\r\n<div align=\"center\">\r\n  <center>\r\n        <table border=\"0\" width=\"400\" height=\"85\">  \r\n          <tr>  \r\n            <td width=\"540\" height=\"41\">\r\n                                   \r\n              <table border=\"0\" width=\"100%\">\r\n                <tr>\r\n                  <td width=\"30%\" align=\"right\">用户名:</td>  \r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string8 = "</td> \r\n                </tr> \r\n                <tr> \r\n                  <td width=\"30%\" align=\"right\">HOMEPAGE:</td> \r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string7 = "</td> \r\n                </tr> \r\n                <tr> \r\n                  <td width=\"30%\" align=\"right\">E_MAIL:</td> \r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string30 = "                    \r\n                          \r\n".getBytes("GB2312");
      _jsp_string4 = "                 \r\n".getBytes("GB2312");
      _jsp_string19 = "\">                                                                                                                                    \r\n                    </td>                        \r\n                  </tr>                        \r\n                  <tr>                        \r\n                    <td width=\"30%\" align=\"right\">HOMEPAGE:&nbsp;</td>                       \r\n                    <td width=\"70%\"> <input class=\"intext\" type=\"text\" name=\"userhomepage\" size=\"50\" value=\"".getBytes("GB2312");
      _jsp_string17 = "\r\n<div align=\"center\">\r\n  <center>\r\n<table border=\"0\" width=\"500\">\r\n  <tr>\r\n    <td width=\"100%\">\r\n      <form method=\"post\" action=\"userinfo.jsp\">\r\n        <p align=\"center\" style=\"margin-top: 0; margin-bottom: 0\"><b><font size=\"4\">&nbsp;用 户 \r\n        资 料 修 改&nbsp;&nbsp; </font></b>*不能为空</p>  \r\n  <center>  \r\n        <div align=\"center\">  \r\n          <center>  \r\n        <table border=\"0\" width=\"100%\" height=\"85\">  \r\n          <tr>  \r\n            <td width=\"540\" height=\"41\">\r\n              <div align=\"center\"> \r\n                <center> \r\n                <table border=\"0\" width=\"100%\"> \r\n                  <tr> \r\n                    <td width=\"30%\" align=\"right\">用 户 名:</td>                        \r\n                    <td width=\"70%\">".getBytes("GB2312");
      _jsp_string9 = "</td>\r\n                </tr>\r\n                <tr>\r\n                  <td width=\"30%\" align=\"right\">主页名称:</td>\r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string27 = "</textarea></td>                       \r\n                  </tr>                       \r\n                  <tr>                       \r\n                    <td width=\"30%\"></td>                       \r\n                    <td width=\"70%\"><input class=\"buttonface\" type=\"submit\" value=\"修改\" name=\"B1\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;                        \r\n                      <input class=\"buttonface\" type=\"reset\" value=\"重填\" name=\"B2\"></td>                       \r\n                  </tr>                       \r\n                </table>                       \r\n                </center>                       \r\n              </div>                       \r\n                                                                                \r\n            </td>                                                                                                                                   \r\n          </tr>    \r\n        </table>                                 \r\n          </center>      \r\n        </div>     \r\n        <input type=\"hidden\" name=\"userid\" value=\"".getBytes("GB2312");
      _jsp_string15 = "</td>\r\n                </tr>\r\n                <tr>\r\n                  <td width=\"50%\"></td>\r\n                  <td width=\"50%\"><a href=\"myinfo.jsp\" target=\"_self\">返回</a></td>\r\n                </tr>\r\n              </table>      \r\n            </td>               \r\n          </tr>                                                                                    \r\n        </table>      \r\n  </center>     \r\n</div>     \r\n".getBytes("GB2312");
      _jsp_string1 = "<!--开始导入packages-->\r\n".getBytes("GB2312");
      _jsp_string14 = "</td> \r\n                </tr> \r\n                <tr> \r\n                  <td width=\"30%\" align=\"right\">签名:</td> \r\n                  <td width=\"70%\" align=\"left\"> </td>\r\n                </tr>\r\n                <tr>\r\n                  <td width=\"50%\"></td>\r\n                  <td width=\"50%\">".getBytes("GB2312");
      _jsp_string23 = "checked ".getBytes("GB2312");
      _jsp_string29 = "\">  \r\n      </form>                                                                \r\n    </td>                          \r\n  </tr>                          \r\n</table>                          \r\n  </center>                       \r\n  </div>                       \r\n".getBytes("GB2312");
      _jsp_string5 = "\r\n\r\n<!-----------//用户信息查看------------------------------------------------------->\r\n".getBytes("GB2312");
      _jsp_string13 = "</td> \r\n                </tr> \r\n                <tr> \r\n                  <td width=\"30%\" align=\"right\">积分:</td>  \r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string10 = "</td>\r\n                </tr>\r\n                <tr>\r\n                  <td width=\"30%\" align=\"right\">生日:</td>  \r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string20 = "\"></td>                       \r\n                  </tr>                       \r\n                  <tr>                       \r\n                    <td width=\"30%\" align=\"right\">主页名称:</td>                       \r\n                    <td width=\"70%\"><input class=\"intext\" type=\"text\" name=\"hpname\" size=\"20\" value=\"".getBytes("GB2312");
      _jsp_string21 = "\">                                                                                                                                  \r\n                    </td>                       \r\n                  </tr>                       \r\n                  <tr>                       \r\n                    <td width=\"30%\" align=\"right\">生&nbsp;&nbsp;&nbsp; 日:</td>                       \r\n                    <td width=\"70%\"><input class=\"intext\" type=\"text\" name=\"userbirthday\" size=\"11\" value=\"".getBytes("GB2312");
      _jsp_string22 = "\">*格式:yy-mm-dd</td>                       \r\n                  </tr>                       \r\n                  <tr>                       \r\n                    <td width=\"30%\" align=\"right\">                                                     \r\n              性&nbsp; 别:</td>                        \r\n                    <td width=\"70%\"><input type=\"radio\" value=\"男\" name=\"usersex\" ".getBytes("GB2312");
      _jsp_string12 = "</td> \r\n                </tr> \r\n                <tr> \r\n                  <td width=\"30%\" align=\"right\">来自:</td>  \r\n                  <td width=\"70%\" align=\"left\">".getBytes("GB2312");
      _jsp_string25 = ">女&nbsp;</td>                        \r\n                  </tr>                        \r\n                  <tr>                        \r\n                    <td width=\"30%\" align=\"right\">                        \r\n              来&nbsp;&nbsp; 自:</td>                       \r\n                    <td width=\"70%\"><input class=\"intext\" type=\"text\" name=\"comefrom\" size=\"20\" value=\"".getBytes("GB2312");
    } catch (java.io.UnsupportedEncodingException e) {
      e.printStackTrace();
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -