📄 orgman_0002fdeptleft_0002ejsp_jsp.java
字号:
package orgman;
import com.jestdoc.org.WinDept;
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 orgman_0002fDeptLeft_0002ejsp_jsp extends HttpJspBase {
// begin [file="/orgman/DeptLeft.jsp";from=(5,0);to=(5,75)]
// end
// begin [file="/orgman/DeptLeft.jsp";from=(6,0);to=(6,72)]
// end
static {
}
public orgman_0002fDeptLeft_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="/orgman/DeptLeft.jsp";from=(0,49);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/orgman/DeptLeft.jsp";from=(1,59);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/orgman/DeptLeft.jsp";from=(2,32);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/orgman/DeptLeft.jsp";from=(3,38);to=(5,0)]
out.write("\r\n\r\n");
// end
// begin [file="/orgman/DeptLeft.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="/orgman/DeptLeft.jsp";from=(5,0);to=(5,75)]
}
// end
// HTML // begin [file="/orgman/DeptLeft.jsp";from=(5,75);to=(6,0)]
out.write("\r\n");
// end
// begin [file="/orgman/DeptLeft.jsp";from=(6,0);to=(6,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="/orgman/DeptLeft.jsp";from=(6,0);to=(6,72)]
}
// end
// HTML // begin [file="/orgman/DeptLeft.jsp";from=(6,72);to=(7,0)]
out.write("\r\n");
// end
// begin [file="/orgman/DeptLeft.jsp";from=(7,2);to=(11,0)]
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires",0);
// end
// HTML // begin [file="/orgman/DeptLeft.jsp";from=(11,2);to=(12,0)]
out.write("\r\n");
// end
// begin [file="/orgman/DeptLeft.jsp";from=(12,2);to=(69,0)]
String modFlag=ExStr.nullToSpace(request.getParameter("modFlag"));
String iDeptID=ExStr.nullToSpace(request.getParameter("DeptID"));
String strDeptID="";
ResultSet rs=null;
if(!iDeptID.equals(""))
{
String sql=" select * from tb_01_1 where TF_1="+iDeptID;
strDeptID=","+iDeptID;
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 + -