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

📄 user_005fupdate_jsp.java

📁 模仿Taobao购物网
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
String name = memberBean.getName();
if(name == null){
 name = "";
 }
 String sex = memberBean.getSex();
 if(sex == null){
 sex = "";
 }
 String trueName = memberBean.getTrueName();
 if(trueName == null){
 trueName = "";
 }
 String phonecode =memberBean.getPhoneCode();
 if(phonecode == null){
 phonecode = "";
 }
 String emails = memberBean.getEmails();
 if(emails == null){
 emails = "";
 }
 String city =memberBean.getCity();
 if(city == null){
 city = "";
 }
 String address = memberBean.getAddress();
 if(address == null){
 address = "";
 }
 String postCode = memberBean.getPostCode();
 if(postCode == null){
 postCode = "";
 }
 
      out.write("\r\n");
      out.write("\r\n");
      out.write("<table cellspacing=\"0\" cellpadding=\"0\" width=\"85%\" align=\"center\" border=\"0\">\r\n");
      out.write("  <tbody>\r\n");
      out.write("    <tr>\r\n");
      out.write("      <td valign=\"top\" width=\"99%\" colspan=\"4\">\r\n");
      out.write("        <table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" align=\"center\" border=\"0\">\r\n");
      out.write("          <tbody>\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td valign=\"top\" align=\"left\" width=\"10\" bgcolor=\"#ddffcc\">\r\n");
      out.write("                <img src=\"photo/dltp1.gif\" alt=\"52\" width=\"10\" height=\"28\" border=\"0\"/>\r\n");
      out.write("              </td>\r\n");
      out.write("              <td colspan=\"2\" align=\"center\" valign=\"bottom\" nowrap=\"nowrap\" bgcolor=\"#ddffcc\" height=\"28\"><br /><h2>修改个人信息</h2></td>\r\n");
      out.write("\r\n");
      out.write("              <td valign=\"top\" align=\"right\" width=\"10\" bgcolor=\"#ddffcc\">\r\n");
      out.write("                <img src=\"photo/dltp5.gif\" alt=\"52\" width=\"10\" height=\"28\" border=\"0\"/>\r\n");
      out.write("              </td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </tbody>\r\n");
      out.write("        </table>\r\n");
      out.write("      </td>\r\n");
      out.write("    </tr>\r\n");
      out.write("  </tbody>\r\n");
      out.write("</table>\r\n");
      out.write("<table id=\"\" cellspacing=\"0\" cellpadding=\"0\" width=\"85%\" align=\"center\" bgcolor=\"#ddddcc\" border=\"0\">\r\n");
      out.write("  <tbody>\r\n");
      out.write("    <tr bgcolor=\"#ddddcc\">\r\n");
      out.write("      <td valign=\"top\" bgcolor=\"#ddddcc\">\r\n");
      out.write("        <table cellspacing=\"3\" cellpadding=\"0\" width=\"100%\" align=\"center\" bgcolor=\"#ddddcc\" border=\"0\">\r\n");
      out.write("          <tbody>\r\n");
      out.write("            <tr>\r\n");
      out.write("              <td valign=\"top\" bgcolor=\"#ffffff\">\r\n");
      out.write("                <table cellspacing=\"0\" cellpadding=\"5\" width=\"100%\" align=\"center\" border=\"0\">\r\n");
      out.write("                  <tbody>\r\n");
      out.write("                    <tr>\r\n");
      out.write("                      <td>\r\n");
      out.write("                      <form action=\"servlet2\" method=\"get\" name=\"form1\" onsubmit=\"return pd_form()\">\r\n");
      out.write("                        <table cellspacing=\"3\" cellpadding=\"0\" width=\"100%\" align=\"center\" border=\"0\" bgcolor=\"ddccff\">\r\n");
      out.write("                          <tbody>\r\n");
      out.write("                            <tr>\r\n");
      out.write("                              <td align=\"center\">\r\n");
      out.write("                                <table width=\"400\">\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">用&nbsp;&nbsp;户&nbsp;&nbsp;名:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\" width=\"150\"><input class=\"r\" type=\"text\" readonly=\"readonly\" name=\"name\" value=\"");
      out.print(name );
      out.write("\"/></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会&nbsp;&nbsp;员&nbsp;性 &nbsp;别:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input name=\"sex\" type=\"text\" value=\"");
      out.print(sex );
      out.write("\" /></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会 &nbsp;员 &nbsp;密 &nbsp;码:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input size=\"21\" type=\"password\" name=\"password\"/><span class=\"red\">*</span></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">确认会员密码:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input size=\"21\" type=\"password\" name=\"qrpassword\"/><span class=\"red\">*</span></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会员真实姓名:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input type=\"text\" value=\"");
      out.print(trueName );
      out.write("\" name=\"trueName\"/></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会员电话号码:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input type=\"text\" value=\"");
      out.print(phonecode );
      out.write("\" name=\"phonecode\"/></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会员Email地址:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input value=\"");
      out.print(emails );
      out.write("\" type=\"text\" name=\"emails\"/><span class=\"red\">*</span></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会员所在城市:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input value=\"");
      out.print(city );
      out.write("\" type=\"text\" name=\"city\"/></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会 &nbsp;员 &nbsp;住 &nbsp;址:&nbsp;&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\">\r\n");
      out.write("                                      <textarea name=\"address\" cols=\"\" rows=\"\">");
      out.print(address );
      out.write("</textarea>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"right\">会 &nbsp;员 &nbsp;邮&nbsp;编:&nbsp;</td>\r\n");
      out.write("                                    <td align=\"left\"><input type=\"text\" value=\"");
      out.print(postCode );
      out.write("\" name=\"postCode\"/></td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                  <tr>\r\n");
      out.write("                                    <td align=\"center\" colspan=\"2\">\r\n");
      out.write("                                      <input style=\" font-size:12px\" type=\"submit\" name=\"Submit\" value=\"确定修改\"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
      out.write("                                  <input style=\" font-size:12px\" type=\"submit\" name=\"Submit2\" value=\"重置\"/>\r\n");
      out.write("                                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"myshop.jsp\"><strong>返回我的帐户</strong> </a>\r\n");
      out.write("                                    </td>\r\n");
      out.write("                                  </tr>\r\n");
      out.write("                                </table>\r\n");
      out.write("                              </td>\r\n");
      out.write("                            </tr>\r\n");
      out.write("                          </tbody>\r\n");
      out.write("                        </table>\r\n");
      out.write("                      </form>\r\n");
      out.write("                      </td>\r\n");
      out.write("                    </tr>\r\n");
      out.write("                  </tbody>\r\n");
      out.write("                </table>\r\n");
      out.write("              </td>\r\n");
      out.write("            </tr>\r\n");
      out.write("          </tbody>\r\n");
      out.write("        </table>\r\n");
      out.write("      </td>\r\n");
      out.write("    </tr>\r\n");
      out.write("  </tbody>\r\n");
      out.write("</table>\r\n");
      out.write("<table cellspacing=\"0\" cellpadding=\"0\" width=\"85%\" align=\"center\" bgcolor=\"#ddddcc\" border=\"0\">\r\n");
      out.write("  <tbody>\r\n");
      out.write("    <tr valign=\"bottom\">\r\n");
      out.write("      <td align=\"left\" bgcolor=\"#ddddcc\" height=\"10\">\r\n");
      out.write("        <img src=\"photo/dltp3.gif\" alt=\"695\" width=\"10\" height=\"10\" border=\"0\"/>\r\n");
      out.write("      </td>\r\n");
      out.write("      <td align=\"right\" bgcolor=\"#ddddcc\" height=\"10\">\r\n");
      out.write("        <img src=\"photo/dltp4.gif\" alt=\"65\" width=\"10\" height=\"10\" border=\"0\"/>\r\n");
      out.write("      </td>\r\n");
      out.write("    </tr>\r\n");
      out.write("  </tbody>\r\n");
      out.write("</table>\r\n");
      out.write("<p>&nbsp;</p>\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "footer.jsp", out, true);
      out.write("\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);
    }
  }
}

⌨️ 快捷键说明

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