📄 inc_0002fuserleft1_0002ejsp_jsp.java
字号:
package inc;
import com.jestdoc.org.Dept;
import java.util.*;
import java.sql.ResultSet;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class inc_0002fUserLeft1_0002ejsp_jsp extends HttpJspBase {
// begin [file="/inc/UserLeft1.jsp";from=(5,0);to=(5,75)]
// end
// begin [file="/inc/UserLeft1.jsp";from=(6,0);to=(6,74)]
// end
// begin [file="/inc/UserLeft1.jsp";from=(7,0);to=(7,72)]
// end
// begin [file="/inc/UserLeft1.jsp";from=(8,0);to=(8,69)]
// end
static {
}
public inc_0002fUserLeft1_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=Big5");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/inc/UserLeft1.jsp";from=(0,49);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(1,56);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(2,32);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(3,38);to=(5,0)]
out.write("\r\n\r\n");
// end
// begin [file="/inc/UserLeft1.jsp";from=(5,0);to=(5,75)]
com.jestdoc.inc.ExtendString ExStr = null;
boolean _jspx_specialExStr = false;
synchronized (pageContext) {
ExStr= (com.jestdoc.inc.ExtendString)
pageContext.getAttribute("ExStr",PageContext.PAGE_SCOPE);
if ( ExStr == null ) {
_jspx_specialExStr = true;
try {
ExStr = (com.jestdoc.inc.ExtendString) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.jestdoc.inc.ExtendString");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.jestdoc.inc.ExtendString", exc);
}
pageContext.setAttribute("ExStr", ExStr, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialExStr == true) {
// end
// begin [file="/inc/UserLeft1.jsp";from=(5,0);to=(5,75)]
}
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(5,75);to=(6,0)]
out.write("\r\n");
// end
// begin [file="/inc/UserLeft1.jsp";from=(6,0);to=(6,74)]
com.jestdoc.inc.ExtendMath ExMath = null;
boolean _jspx_specialExMath = false;
synchronized (pageContext) {
ExMath= (com.jestdoc.inc.ExtendMath)
pageContext.getAttribute("ExMath",PageContext.PAGE_SCOPE);
if ( ExMath == null ) {
_jspx_specialExMath = true;
try {
ExMath = (com.jestdoc.inc.ExtendMath) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.jestdoc.inc.ExtendMath");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.jestdoc.inc.ExtendMath", exc);
}
pageContext.setAttribute("ExMath", ExMath, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialExMath == true) {
// end
// begin [file="/inc/UserLeft1.jsp";from=(6,0);to=(6,74)]
}
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(6,74);to=(7,0)]
out.write("\r\n");
// end
// begin [file="/inc/UserLeft1.jsp";from=(7,0);to=(7,72)]
com.jestdoc.dbconn.DbConn conn = null;
boolean _jspx_specialconn = false;
synchronized (pageContext) {
conn= (com.jestdoc.dbconn.DbConn)
pageContext.getAttribute("conn",PageContext.PAGE_SCOPE);
if ( conn == null ) {
_jspx_specialconn = true;
try {
conn = (com.jestdoc.dbconn.DbConn) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.jestdoc.dbconn.DbConn");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.jestdoc.dbconn.DbConn", exc);
}
pageContext.setAttribute("conn", conn, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialconn == true) {
// end
// begin [file="/inc/UserLeft1.jsp";from=(7,0);to=(7,72)]
}
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(7,72);to=(8,0)]
out.write("\r\n");
// end
// begin [file="/inc/UserLeft1.jsp";from=(8,0);to=(8,69)]
com.jestdoc.org.WinRole Role = null;
boolean _jspx_specialRole = false;
synchronized (pageContext) {
Role= (com.jestdoc.org.WinRole)
pageContext.getAttribute("Role",PageContext.PAGE_SCOPE);
if ( Role == null ) {
_jspx_specialRole = true;
try {
Role = (com.jestdoc.org.WinRole) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "com.jestdoc.org.WinRole");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"com.jestdoc.org.WinRole", exc);
}
pageContext.setAttribute("Role", Role, PageContext.PAGE_SCOPE);
}
}
if(_jspx_specialRole == true) {
// end
// begin [file="/inc/UserLeft1.jsp";from=(8,0);to=(8,69)]
}
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(8,69);to=(9,0)]
out.write("\r\n");
// end
// begin [file="/inc/UserLeft1.jsp";from=(9,2);to=(13,0)]
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
// end
// HTML // begin [file="/inc/UserLeft1.jsp";from=(13,2);to=(14,0)]
out.write("\r\n");
// end
// begin [file="/inc/UserLeft1.jsp";from=(14,2);to=(68,1)]
String Flag=ExStr.nullToSpace(request.getParameter("Flag"));
String File="UserRight.jsp";
String iDeptID=ExStr.nullToSpace(request.getParameter("DeptID"));
String strDeptID="";
if(!iDeptID.equals(""))
{
String sql=" select * from tb_01_1 where TF_1="+iDeptID;
strDeptID=","+iDeptID;
ResultSet rs=conn.executeQuery(sql);
while(rs.next())
{
iDeptID=rs.getString("TF_5");
strDeptID+=","+iDeptID;
if(iDeptID.equals("0"))
break;
sql=" select * from tb_01_1 where TF_1="+iDeptID;
rs=conn.executeQuery(sql);
}
strDeptID+=",";
}
try
{
String cssFile=(String)session.getValue("cssFile"); //鍊嬩汉棰ㄦ牸瑷
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -