📄 dms_0002fdocument_0002fprocessreview_0002ejsp_jsp.java
字号:
package DMS.document;
import com.jasson.integration.agentflow.*;
import com.flowring.util.common.SecurityURL;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class DMS_0002fdocument_0002fProcessReview_0002ejsp_jsp extends HttpJspBase {
// begin [file="/DMS/document/ProcessReview.jsp";from=(3,0);to=(3,72)]
// end
static {
}
public DMS_0002fdocument_0002fProcessReview_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="/DMS/document/ProcessReview.jsp";from=(0,55);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ProcessReview.jsp";from=(1,57);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/DMS/document/ProcessReview.jsp";from=(2,48);to=(3,0)]
out.write("\r\n");
// end
// begin [file="/DMS/document/ProcessReview.jsp";from=(3,0);to=(3,72)]
si.wfinterface.WFCI wfci = null;
boolean _jspx_specialwfci = false;
synchronized (application) {
wfci= (si.wfinterface.WFCI)
pageContext.getAttribute("wfci",PageContext.APPLICATION_SCOPE);
if ( wfci == null ) {
_jspx_specialwfci = true;
try {
wfci = (si.wfinterface.WFCI) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "si.wfinterface.WFCI");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"si.wfinterface.WFCI", exc);
}
pageContext.setAttribute("wfci", wfci, PageContext.APPLICATION_SCOPE);
}
}
if(_jspx_specialwfci == true) {
// end
// begin [file="/DMS/document/ProcessReview.jsp";from=(3,0);to=(3,72)]
}
// end
// HTML // begin [file="/DMS/document/ProcessReview.jsp";from=(3,72);to=(3,73)]
out.write(" ");
// end
// begin [file="/DMS/document/ProcessReview.jsp";from=(3,75);to=(21,63)]
String strError = "";
if (request.getParameter("txtFileNo") != null) {
String strFileNO = request.getParameter("txtFileNo");
AgentFlowWrapper agentFlow = new AgentFlowWrapper(wfci);
String strRootTaskID = null;
String strForward = "/ProcessReview.do?key=";
Task taskF[] = agentFlow.findTaskByFileNO(strFileNO);
Task taskC[] = agentFlow.findTaskByCreateNO(strFileNO);
if (taskF.length > 0) {
strRootTaskID = taskF[0].getRootTaskID();
}
if (taskC.length > 0) {
strRootTaskID = taskC[0].getRootTaskID();
}
if (strRootTaskID == null) {
strError = "查不到該公文文號,請重新輸入"; }
else {
strForward += SecurityURL.encode("taskID=" + strRootTaskID);
// end
// HTML // begin [file="/DMS/document/ProcessReview.jsp";from=(21,65);to=(22,2)]
out.write("\r\n\t\t");
// end
// begin [file="/DMS/document/ProcessReview.jsp";from=(22,2);to=(22,42)]
if (true) {
out.clear();
String _jspx_qfStr = "";
pageContext.forward( strForward + _jspx_qfStr);
return;
}
// end
// HTML // begin [file="/DMS/document/ProcessReview.jsp";from=(22,42);to=(22,43)]
out.write(" ");
// end
// begin [file="/DMS/document/ProcessReview.jsp";from=(22,45);to=(24,2)]
}
}
// end
// HTML // begin [file="/DMS/document/ProcessReview.jsp";from=(24,4);to=(32,17)]
out.write("\r\n<html>\r\n<link rel=\"stylesheet\" href=\"/WebAgenda/css_style/form/form_css_1.css\">\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=big5\">\r\n<title></title>\r\n<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>\r\n<!--\r\nfunction window_onLoad() {\r\n\tvar strError = \"");
// end
// begin [file="/DMS/document/ProcessReview.jsp";from=(32,20);to=(32,30)]
out.print( strError );
// end
// HTML // begin [file="/DMS/document/ProcessReview.jsp";from=(32,32);to=(58,0)]
out.write("\";\r\n\tif (strError != \"\") {\r\n\t\twindow.alert(strError);\r\n\t}\r\n}\r\n//-->\r\n</SCRIPT>\r\n<body bgcolor=\"#FFFFFF\" text=\"#000000\" background=\"/WebAgenda/images/contant_bg.gif\" onLoad=\"window_onLoad()\">\r\n<form method=\"post\">\r\n <table width=\"90%\" bgcolor=\"#666E66\" cellspacing=\"1\" border=\"1\" align=\"center\">\r\n <tr> \r\n <td colSpan=\"2\" class=\"form_text_3\" align=\"center\">公文位置查詢</td>\r\n </tr>\r\n <tr> \r\n <td class=\"form_text_3\">公文文號</td>\r\n <td class=\"form_text_4\">\r\n \t<INPUT id=txtFileNo name=txtFileNo class=\"text\">\r\n </td>\r\n </tr>\r\n </table>\r\n <p align=\"center\">\r\n <INPUT id=submit1 name=submit1 type=submit value=確定 class=\"button\">\r\n </p>\r\n</form>\r\n</body>\r\n\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 + -