📄 admin_0002ejsp_jsp.java
字号:
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class admin_0002ejsp_jsp extends HttpJspBase {
// begin [file="/admin.jsp";from=(7,0);to=(7,81)]
// end
static {
}
public admin_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=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/admin.jsp";from=(0,48);to=(7,0)]
out.write("\r\n<html>\r\n<head>\r\n<title>\r\n管理员窗口\r\n</title>\r\n</head>\r\n");
// end
// begin [file="/admin.jsp";from=(7,0);to=(7,81)]
com.test.DB.DBConnManager connDB = null;
boolean _jspx_specialconnDB = false;
synchronized (application) {
connDB= (com.test.DB.DBConnManager)
pageContext.getAttribute("connDB",PageContext.APPLICATION_SCOPE);
if ( connDB == null ) {
_jspx_specialconnDB = true;
try {
connDB = (com.test.DB.DBConnManager) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.test.DB.DBConnManager");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.test.DB.DBConnManager", exc);
}
pageContext.setAttribute("connDB", connDB, PageContext.APPLICATION_SCOPE);
}
}
if(_jspx_specialconnDB == true) {
// end
// begin [file="/admin.jsp";from=(7,0);to=(7,81)]
}
// end
// HTML // begin [file="/admin.jsp";from=(7,81);to=(8,0)]
out.write("\r\n");
// end
// begin [file="/admin.jsp";from=(8,0);to=(8,46)]
JspRuntimeLibrary.introspect(pageContext.findAttribute("connDB"), request);
// end
// HTML // begin [file="/admin.jsp";from=(8,46);to=(26,0)]
out.write("\r\n<body background=\"bj.gif\">\r\n<br><br><br><br><br>\r\n<center>\r\n<h3>\r\n管理员权限\r\n</h3>\r\n\r\n<hr width=\"80%\">\r\n</center>\r\n<br><br>\r\n<br>\r\n<li><p align=\"center\"><a href='userManage.jsp'>用户信息管理</a></p>\r\n<br><br>\r\n<li><p align=\"center\"><a href='liuyanManage.jsp' >留言管理</a></p>\r\n\r\n</body>\r\n</html>\r\n");
// end
} catch (Throwable t) {
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 + -