📄 head_005fupdateconsumer_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import ActionForm.*;
public final class head_005fupdateConsumer_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List 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=GBK");
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("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("\r\n");
out.write("<title>\r\n");
out.write("head_updateConsumer\r\n");
out.write("</title>\r\n");
out.write("</head>\r\n");
ConsumerActionForm caf=(ConsumerActionForm)session.getAttribute("form");
out.write("\r\n");
out.write("<body bgcolor=\"#ffffff\" onload=\"javascript:closer()\">\r\n");
out.write(" ");
out.println("<p align=left> <img src=myimage/icon.gif width=10 height=10> 更改用户信息</p>");
out.write("\r\n");
out.write("<form name=\"form\" method=\"post\" action=\"updateConsumerAction.do?id=");
out.print(caf.getId());
out.write("&sign=2\" onSubmit=\"\" target=\"_top\">\r\n");
out.write(" <table width=\"325\" border=\"1\" align=\"center\" cellpadding=\"1\" cellspacing=\"1\" bordercolor=\"#FFFFFF\" bgcolor=\"#545CCB\">\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">用户名:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"account\" type=\"text\" class=\"inputinput\" size=\"30\" value=\"");
out.print(caf.getAccount());
out.write("\" readonly=\"readonly\" ></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">密码:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"password\" type=\"password\" class=\"inputinput\" size=\"30\" value=\"");
out.print(caf.getPassword());
out.write("\"></div></td>\r\n");
out.write(" </tr>\r\n");
out.write("\t\t\t <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">重复密码:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"repeatPassword\" type=\"password\" class=\"inputinput\" value=\"");
out.print(caf.getPassword());
out.write("\" size=\"30\">\r\n");
out.write(" </div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">姓名:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"name\" type=\"text\" class=\"inputinput\" size=\"30\" value=\"");
out.print(caf.getName());
out.write("\"></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">性别:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\">\r\n");
out.write("\t\t\t\t<input name=\"sex\" type=\"radio\" class=\"inputinputinput\" value=\"男\"");
if(caf.getSex().trim().equals("男")){
out.write(" checked ");
}
out.write(">\r\n");
out.write(" 男\r\n");
out.write(" \r\n");
out.write(" <input name=\"sex\" type=\"radio\" class=\"inputinputinput\" value=\"女\" ");
if(caf.getSex().trim().equals("女")){
out.write("checked");
}
out.write(">\r\n");
out.write(" 女\r\n");
out.write("\t\t</div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">QQ号码:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"QQnumber\" type=\"text\" class=\"inputinput\" size=\"30\" value=\"");
out.print(caf.getQQnumber());
out.write("\"></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">主页:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"mainPage\" type=\"text\" class=\"inputinput\" size=\"30\" value=\"");
out.print(caf.getMainPage());
out.write("\"></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">兴趣爱好:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"interest\" type=\"text\" class=\"inputinput\" size=\"30\" value=\"");
out.print(caf.getInterest());
out.write("\"></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr>\r\n");
out.write(" <td height=\"30\"><div align=\"center\">电子邮箱:</div></td>\r\n");
out.write(" <td bgcolor=\"#FFFFFF\"><div align=\"center\"><input name=\"e\" type=\"text\" class=\"inputinput\" size=\"30\" value=\"");
out.print(caf.getE());
out.write("\"></div></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </table>\r\n");
out.write(" <div align=\"center\"><br>\r\n");
out.write(" <input type=\"image\" class=\"inputinputinput\" src=\"myimage/save.gif\" >\r\n");
out.write(" \r\n");
out.write(" <img src=\"myimage/reset.gif\" width=\"51\" height=\"20\" alt=\"\"> </div>\r\n");
out.write("\t\t </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);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -