📄 deptlist_0002ejsp_jsp.java
字号:
package dept;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class deptList_0002ejsp_jsp extends HttpJspBase {
// begin [file="/dept/deptList.jsp";from=(2,0);to=(2,76)]
// end
// begin [file="/dept/deptList.jsp";from=(8,0);to=(8,73)]
// end
static {
}
public deptList_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
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;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/dept/deptList.jsp";from=(0,49);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/dept/deptList.jsp";from=(1,32);to=(2,0)]
out.write("\r\n");
// end
// begin [file="/dept/deptList.jsp";from=(2,0);to=(2,76)]
com.officelog.OffLogBean offLogBean = null;
boolean _jspx_specialoffLogBean = false;
synchronized (pageContext) {
offLogBean= (com.officelog.OffLogBean)
pageContext.getAttribute("offLogBean",PageContext.PAGE_SCOPE);
if ( offLogBean == null ) {
_jspx_specialoffLogBean = true;
try {
offLogBean = (com.officelog.OffLogBean) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.officelog.OffLogBean");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.officelog.OffLogBean", exc);
}
pageContext.setAttribute("offLogBean", offLogBean, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialoffLogBean == true) {
// end
// begin [file="/dept/deptList.jsp";from=(2,0);to=(2,76)]
}
// end
// HTML // begin [file="/dept/deptList.jsp";from=(2,76);to=(3,0)]
out.write("\r\n");
// end
// begin [file="/dept/deptList.jsp";from=(3,2);to=(7,0)]
boolean isadmin=offLogBean.deptList(request,response);
if(!isadmin)
response.sendRedirect("default.html");
// end
// HTML // begin [file="/dept/deptList.jsp";from=(7,2);to=(8,0)]
out.write("\r\n");
// end
// begin [file="/dept/deptList.jsp";from=(8,0);to=(8,73)]
java.util.Vector deptList = null;
boolean _jspx_specialdeptList = false;
synchronized (request) {
deptList= (java.util.Vector)
pageContext.getAttribute("deptList",PageContext.REQUEST_SCOPE);
if ( deptList == null ) {
_jspx_specialdeptList = true;
try {
deptList = (java.util.Vector) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "java.util.Vector");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"java.util.Vector", exc);
}
pageContext.setAttribute("deptList", deptList, PageContext.REQUEST_SCOPE);
}
}
if(_jspx_specialdeptList == true) {
// end
// begin [file="/dept/deptList.jsp";from=(8,0);to=(8,73)]
}
// end
// HTML // begin [file="/dept/deptList.jsp";from=(8,73);to=(9,0)]
out.write(" \r\n");
// end
// begin [file="/dept/deptList.jsp";from=(9,2);to=(16,0)]
String partid="";
String partname="";
String userid="";
String username="";
String truename="";
Vector userList=null;
// end
// HTML // begin [file="/dept/deptList.jsp";from=(16,2);to=(30,0)]
out.write("\r\n<link rel=\"stylesheet\" href=\"../conn/sty.css\" type=\"text/css\">\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Pragma\" content=\"no-cache\">\r\n</head>\r\n<body>\r\n<div align=\"center\"><font color=\"#FF9900\"><span class=\"b1\"><font color=\"#000000\"><b>閮ㄩ棬绠$悊</b></font></span></font><br>\r\n<br>\r\n</div>\r\n<div align=\"center\"><a href=\"deptNew.jsp\">鏂板
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -