📄 userlist_jsp.java
字号:
package org.apache.jsp.admin;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import nm.*;
import java.util.*;
public final class userlist_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
static {
_jspx_dependants = new java.util.ArrayList(7);
_jspx_dependants.add("/common/taglibs.jsp");
_jspx_dependants.add("/WEB-INF/struts-bean.tld");
_jspx_dependants.add("/WEB-INF/struts-html.tld");
_jspx_dependants.add("/WEB-INF/struts-logic.tld");
_jspx_dependants.add("/WEB-INF/mytag.tld");
_jspx_dependants.add("/common/header2.jsp");
_jspx_dependants.add("/common/footer.jsp");
}
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005fhtml;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fbean_005fmessage_0026_005fkey_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fhtml_005ferrors_005fnobody;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fhtml_005fhtml = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fbean_005fmessage_0026_005fkey_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fhtml_005ferrors_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fhtml_005fhtml.release();
_005fjspx_005ftagPool_005fbean_005fmessage_0026_005fkey_005fnobody.release();
_005fjspx_005ftagPool_005fhtml_005ferrors_005fnobody.release();
}
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=gb2312");
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');
out.write('\n');
out.write('\r');
out.write('\n');
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
// html:html
org.apache.struts.taglib.html.HtmlTag _jspx_th_html_005fhtml_005f0 = (org.apache.struts.taglib.html.HtmlTag) _005fjspx_005ftagPool_005fhtml_005fhtml.get(org.apache.struts.taglib.html.HtmlTag.class);
_jspx_th_html_005fhtml_005f0.setPageContext(_jspx_page_context);
_jspx_th_html_005fhtml_005f0.setParent(null);
int _jspx_eval_html_005fhtml_005f0 = _jspx_th_html_005fhtml_005f0.doStartTag();
if (_jspx_eval_html_005fhtml_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
do {
out.write("\r\n");
out.write("<head>\r\n");
out.write("\t<title>\r\n");
out.write("\t\t用户管理\r\n");
out.write("\t</title>\r\n");
out.write("</head>\r\n");
out.write("\r\n");
out.write("<link href=\"images/myStyleClass.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
out.write("\r\n");
out.write("<body>\r\n");
out.write("\t");
out.write("<div align=\"center\">\r\n");
out.write("\t<table>\r\n");
out.write("\t\t<tr>\r\n");
out.write("\t\t\t<td>\r\n");
out.write("\t\t\t\t<img \r\n");
out.write("\t\t\t\t\tsrc=\"");
out.print(request.getContextPath());
out.write("/images/logo2.gif\" \r\n");
out.write("\t\t\t\t\talign=\"middle\" \r\n");
out.write("\t\t\t\t\talt=\"");
if (_jspx_meth_bean_005fmessage_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("\"\r\n");
out.write("\t\t\t\t/>\r\n");
out.write("\t\t\t</td>\r\n");
out.write("\t\t</tr>\r\n");
out.write("\t</table>\r\n");
out.write("\t<hr>\r\n");
out.write("</div> ");
out.write("\r\n");
out.write("\r\n");
out.write("\t");
if (_jspx_meth_html_005ferrors_005f0(_jspx_th_html_005fhtml_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\r\n");
out.write("\t\r\n");
out.write("\t\r\n");
out.write("\t");
Vector userVector = (Vector) session
.getAttribute(Constants.USER_LIST_KEY);
User user = null;
if (userVector != null) {
out.write("\r\n");
out.write("\t<div align=\"center\">\r\n");
out.write("\t\t<table width=\"80%\" border=\"1\" align=\"center\">\r\n");
out.write("\t\t\t<tr align=\"right\">\r\n");
out.write("\t\t\t\t<td colspan=\"4\">\r\n");
out.write("\t\t\t\t\t<A href=\"checkpower.do?functiontype=newuser\">\r\n");
out.write("\t\t\t\t\t\t新建用户\r\n");
out.write("\t\t\t\t\t</A>\r\n");
out.write("\t\t\t\t\t<A href=\"adminlogoff.do\">\r\n");
out.write("\t\t\t\t\t\t注销登录 \r\n");
out.write("\t\t\t\t\t</A>\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t\t<tr align=\"center\">\r\n");
out.write("\t\t\t\t<td colspan=\"4\">\r\n");
out.write("\t\t\t\t\t用户管理\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t\t<tr align=\"center\" bgcolor=\"#0099CC\">\r\n");
out.write("\t\t\t\t<td width=\"25%\">\r\n");
out.write("\t\t\t\t\t用户名\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t\t<td width=\"25%\">\r\n");
out.write("\t\t\t\t\t级别\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t\t<td width=\"25%\">\r\n");
out.write("\t\t\t\t\t编辑\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t\t<td width=\"25%\">\r\n");
out.write("\t\t\t\t\t删除\r\n");
out.write("\t\t\t\t</td>\r\n");
out.write("\t\t\t</tr>\r\n");
out.write("\t\t\t");
for (int i = 0; i < userVector.size(); i++) {
user = (User) userVector.get(i);
out.write("\r\n");
out.write("\t\t\t<tr align=\"center\">\r\n");
out.write("\t\t\t\t<td>\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -