📄 adminupdate_0002ejsp_jsp.java
字号:
package jsp.managerBack.aManager;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.util.List;
import java.sql.*;
import com.victor.domain.ManagerActionForm;
public class adminUpdate_0002ejsp_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
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("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<title>更改管理员的性质");
out.write("</title>\r\n\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">");
out.write("<style type=\"text/css\">\r\n");
out.write("<!--\r\nbody {\r\n\tmargin-left: 0px;\r\n\tmargin-top: 0px;\r\n}\r\ntd{\r\nfont-size:9pt;\r\n}\r\n.style1 {font-size: 9pt}\r\n.style3 {\r\n\tfont-size: 9pt;\r\n\tfont-weight: bold;\r\n\tcolor: #FF9900;\r\n}\r\n-->\r\n");
out.write("</style>");
out.write("</head>\r\n");
out.write("<script language=\"JavaScript\">\r\nfunction RgTest(){\r\nif(document.form.managerName.value==\"\"){\r\nwindow.alert(\"请输入管理员帐号:\");\r\ndocument.form.managerName.focus();\r\nreturn false;\r\n}\r\n\r\nif(document.form.managerRealName.value==\"\"){\r\nwindow.alert(\"请输入管理员真实姓名:\");\r\ndocument.form.managerRealName.focus();\r\nreturn false;\r\n}\r\nreturn true;\r\n}\r\n");
out.write("</script>\r\n");
List list=(List)request.getAttribute("adminSelectOneList");
out.write("\r\n");
for(int i=0;i<list.size();i++){
ManagerActionForm manager=(ManagerActionForm)list.get(i);
out.write("\r\n");
out.write("<body>\r\n");
out.write("<table width=\"568\" height=\"419\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#052754\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td align=\"center\" valign=\"top\" bgcolor=\"#FFFFFF\">\r\n\t");
out.write("<span class=\"style3 style1\">");
out.write("<br>\r\n\t");
out.write("<br>\r\n\t");
out.write("<br>\r\n\t更新管理员的性质");
out.write("</span>");
out.write("<br>\r\n");
out.write("<form name=\"form\" method=\"post\" action=\"adminUpdateAction.do?managerID=");
out.print(manager.getManagerID());
out.write("\" onSubmit=\"return RgTest()\">\r\n ");
out.write("<table width=\"319\" border=\"0\" align=\"center\" cellpadding=\"2\" cellspacing=\"1\" bgcolor=\"#052754\">\r\n ");
out.write("<tr>\r\n ");
out.write("<td width=\"90\" height=\"24\"bgcolor=\"#0099cc\" class=\"style1\"> 帐号:");
out.write("</td>\r\n ");
out.write("<td width=\"218\" bgcolor=\"#ffffff\">");
out.write("<input type=\"text\" name=\"managerName\" value=\"");
out.print(manager.getManagerName());
out.write("\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"24\"bgcolor=\"#0099cc\"> 密码:");
out.write("</td>\r\n ");
out.write("<td bgcolor=\"#ffffff\">");
out.write("<input type=\"hidden\" name=\"managerPassword\" value=\"");
out.print(manager.getManagerPassword());
out.write("\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n \r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"24\"bgcolor=\"#0099cc\"> 真实姓名:");
out.write("</td>\r\n ");
out.write("<td bgcolor=\"#ffffff\">");
out.write("<input type=\"text\" name=\"managerRealName\" value=\"");
out.print(manager.getManagerRealName());
out.write("\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr>\r\n ");
out.write("<td height=\"24\"bgcolor=\"#0099cc\"> 管理员类别:");
out.write("</td>\r\n ");
out.write("<td bgcolor=\"#ffffff\">");
out.print(manager.getManagerMark());
out.write("<input type=\"hidden\" name=\"managerMark\" value=\"");
out.print(manager.getManagerMark());
out.write("\">");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("</table>\r\n ");
out.write("<br>\r\n ");
}
out.write("\r\n ");
out.write("<input type=\"submit\" name=\"Submit2\" value=\"提交\">\r\n\t \r\n ");
out.write("<input type=\"reset\" name=\"Submit\" value=\"重置\">\r\n");
out.write("</form>\t");
out.write("</td>\r\n ");
out.write("</tr>\r\n");
out.write("</table>\r\n");
out.write("</body>\r\n");
out.write("</html>\r\n");
} catch (Throwable t) {
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -