public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\r\n"); out.write("<title>Insert title here</title>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("\t<h1>"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${greeting}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</h1>\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write("\n"); out.write(" \n"); out.write("<html>\n"); out.write(" <head>\n"); out.write( " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n"); out.write(" <title>Login page | Hello World Struts application in Eclipse</title>\n"); out.write(" </head>\n"); out.write(" <body>\n"); out.write(" <h1>Login</h1>\n"); out.write(" "); if (_jspx_meth_html_005fform_005f0(_jspx_page_context)) return; out.write("\n"); out.write(" </body>\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\r\n"); out.write("<title>Insert title here</title>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("<form action=\"ClientServlet\">\r\n"); out.write("Enter the bill amount <input type=\"text\" name=\"bill\"> \r\n"); out.write("<input type=\"submit\" value=\"submit\">\r\n"); out.write("</form>\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("<body>\n"); out.write("\t<div id=\"goschool\">\n"); out.write("\t\t<div id=\"ceiling\"></div>\n"); out.write("\t\t<div id=\"left-title\"></div>\n"); out.write("\t\t\t<div id=\"title\">\n"); out.write( "\t\t\t\t<img src=\"../img/Chandelier_fin.png\" height=\"150\" width=\"\" alt=\"\"></div>\n"); out.write("\t\t\t\t\n"); out.write("\t\t\t\t<div id=\"right-title\"></div>\n"); out.write("\t\t\n"); out.write("\t\t<div id=\"prop-left\"></div>\n"); out.write("\t\t<div id=\"box\">\n"); out.write("\t\t\t<div id=\"tag\">\n"); out.write("\t\t\t\t<div id=\"logout\">\n"); out.write("\t\t\t\t\t<button name=\"submit1\" value=\"logout\">\n"); out.write("\t\t\t\t\t\tãã°ã¢ã¦ã\n"); out.write("\t\t\t\t\t</button>\n"); out.write("\t\t\t\t</div>\n"); out.write("\t\t\t</div>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final java.lang.String _jspx_method = request.getMethod(); if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) { response.sendError( HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD"); return; } final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\r'); out.write('\n'); response.sendRedirect(response.encodeRedirectURL(request.getContextPath() + "/html")); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("<div id=\"popupContact\">\n"); out.write(" <a id=\"popupContactClose\">x</a>\n"); out.write(" <h1>Help for the search lesson</h1>\n"); out.write(" <p id=\"contactArea\">\n"); out.write(" At first this page has XSS-Flaws\n"); out.write(" <p>\n"); out.write(" Try some input, and try to inject html....\n"); out.write(" </p>\n"); out.write(" <p>\n"); out.write(" Look for the SearchController....<br/>\n"); out.write( " Then try to fix the problem, easiest way is to fix the problem in corresponding jsp (search.jsp)<br/>\n"); out.write(" Tip: In the jsp you have got already the core Tag library....\n"); out.write(" </p>\n"); out.write("\n"); out.write(" </p>\n"); out.write("</div>\n"); out.write("<div id=\"backgroundPopup\"></div>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"); out.write("\n"); out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n"); out.write(" <head>\n"); out.write("</head>\n"); out.write("\n"); out.write("<body>\n"); out.write("\n"); response.sendRedirect("/yourwebapp/"); out.write("\n"); out.write("\n"); out.write("</body>\n"); out.write("</html>\n"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, false, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); if (_jspx_meth_c_005fif_005f0(_jspx_page_context)) return; out.write('\n'); out.write('\n'); if (_jspx_meth_c_005fif_005f1(_jspx_page_context)) return; out.write('\n'); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\r\n"); out.write("<title>Insert title here</title>\r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">\r\n"); out.write("\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("<h2 class=\"vzh2\" align=\"center\">© 2015, Verizon Confidential</h2>\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write("<title>Insert title here</title>\n"); out.write("</head>\n"); out.write("<body>\n"); out.write("\tWelcome to Zhuangbility student manage system! \n"); out.write("</body>\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write(" <title>Spring 3 MVC Series - Contact Manager</title>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("<h2>Contact Manager</h2>\r\n"); if (_jspx_meth_form_005fform_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\r'); out.write('\n'); String id = request.getParameter("id"); String user = request.getParameter("u"); Upload newupload = new Upload(pageContext, request, response, out, id, "lizozom"); response.sendRedirect(request.getHeader("referer")); out.write('\r'); out.write('\n'); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=utf-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("<div class=\"row-fluid\" style=\"margin-top: 30px;\">\r\n"); out.write("\t<div class=\"span12\">\r\n"); out.write("\t\t<div class=\"foot\">Copyright © 2015-2016 Jae</div>\r\n"); out.write("\t</div>\r\n"); out.write("</div>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write( "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\" /><title>订单详情</title></head><body><div align=\"center\" style=\"background:url(bgg.jpg) no-repeat ; background-size: cover; -moz-background-size: cover; \"><table style=\"margin-top: 20px\" align=\"left\" cellpadding=\"5px\" cellspacing=\"0px\" ><tr><td>  采购日期: 2015-09-11</td></tr><tr><td>  订单总数: 2</td></tr><tr><td> --------------------------------------</td></tr><tr><td>  采购日期: 2015-09-15</td></tr><tr><td>  订单总数: 3</td></tr><tr><td> --------------------------------------</td></tr><tr><td>  采购日期: 2015-10-12</td></tr><tr><td>  订单总数: 1</td></tr><tr><td> --------------------------------------</td></tr><tr><td>  采购日期: 2015-10-16</td></tr><tr><td>  订单总数: 1</td></tr><tr><td> --------------------------------------</td></tr><tr><td>  采购日期: 2015-10-23</td></tr><tr><td>  订单总数: 2</td></tr><tr><td> --------------------------------------</td></tr><tr><td>详情请登录浩方供应商门户<br>http://sp.hofan.cn/<br></td></tr><br></table></body>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html;charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("<meta http-equiv=\"refresh\" content=\"0; url=bennu-admin/\">"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html;charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\r'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_c_005fset_005f0(_jspx_page_context)) return; out.write('\r'); out.write('\n'); String path = request.getContextPath(); String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path; request.setAttribute("basePath", basePath); out.write('\r'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<title>API管理</title>\r\n"); out.write(" "); out.write("<!-- Common JS Lib & CSS Lib -->\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/webResources/js/easyui/jquery-1.4.4.min.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/webResources/js/common.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src='"); if (_jspx_meth_c_005furl_005f0(_jspx_page_context)) return; out.write("'></script>\r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href='"); if (_jspx_meth_c_005furl_005f1(_jspx_page_context)) return; out.write("'> \r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href='"); if (_jspx_meth_c_005furl_005f2(_jspx_page_context)) return; out.write("'>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/webResources/js/easyui/locale/easyui-lang-zh_CN.js\"></script> \r\n"); out.write("<link rel=\"stylesheet\" type=\"text/css\" href='"); if (_jspx_meth_c_005furl_005f3(_jspx_page_context)) return; out.write("' />\r\n"); out.write("<script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/webResources/js/validator.js\"></script>\r\n"); out.write("<script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/webResources/My97DatePicker/WdatePicker.js\"></script>"); out.write("\r\n"); out.write("\t<script>\r\n"); out.write(" \r\n"); out.write(" function addNew(){\r\n"); out.write(" \tvar dt=new Date();\r\n"); out.write(" var ah = screen.availHeight - 30;\r\n"); out.write(" \t\tvar aw = screen.availWidth - 10;\r\n"); out.write(" \t\tvar xc = (aw - 500) / 2;\r\n"); out.write(" \t\tvar yc = (ah - 600) / 2;\r\n"); out.write(" openparentWindow(\"newWindow\",\"添加\",xc,yc,\"800\",\"500\",\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write( "/jsp/api/apiInitEdit.action?flag=add&dt=\"+dt.getTime(),true,true,true,false,true,\"win\");\r\n"); out.write(" }\r\n"); out.write(" function edit(row_Id){\r\n"); out.write(" \tvar dt=new Date();\r\n"); out.write(" var ah = screen.availHeight - 30;\r\n"); out.write(" \t\tvar aw = screen.availWidth - 10;\r\n"); out.write(" \t\tvar xc = (aw - 500) / 2;\r\n"); out.write(" \t\tvar yc = (ah - 600) / 2;\r\n"); out.write(" openparentWindow(\"newWindow\",\"修改\",xc,yc,\"800\",\"500\",\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write( "/jsp/api/apiInitEdit.action?flag=mod&api.id=\"+row_Id,true,true,true,false,true,\"win\");\r\n"); out.write(" }\r\n"); out.write(" function view(row_Id){\r\n"); out.write(" \tvar dt=new Date();\r\n"); out.write(" var ah = screen.availHeight - 30;\r\n"); out.write(" \t\tvar aw = screen.availWidth - 10;\r\n"); out.write(" \t\tvar xc = (aw - 400) / 2;\r\n"); out.write(" \t\tvar yc = (ah - 350) / 2;\r\n"); out.write(" openparentWindow(\"newWindow\",\"查看\",xc,yc,\"600\",\"400\",\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write( "/jsp/api/apiView.action?api.id=\"+row_Id+\"&dt=\"+dt.getTime(),true,true,true,false,true,\"win\");\r\n"); out.write(" }\r\n"); out.write(" function close_win(){\r\n"); out.write(" \t$(\"#newWindow\").window(\"close\");\r\n"); out.write(" }\r\n"); out.write(" function reloadDate(){\r\n"); out.write(" $('#pagination').datagrid('clearSelections');\r\n"); out.write(" \tsearch_api();\r\n"); out.write(" }\r\n"); out.write(" function del(){\r\n"); out.write(" \tvar rows = $('#pagination').datagrid('getSelections');\r\n"); out.write(" \tvar ids = \"\";\r\n"); out.write("\t\t\tfor(var i=0;i<rows.length;i++){\r\n"); out.write("\t\t\t\tids += rows[i].id+\"|\";\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\tif(rows.length<1){\r\n"); out.write("\t\t\t $.messager.alert('提示','至少选择一项删除!');\r\n"); out.write("\t\t\t}else{\r\n"); out.write("\t\t\t $.messager.confirm(\"删除\",\"确定要删除吗?\",function(result){\r\n"); out.write("\t\t\t if(result){\r\n"); out.write("\t\t $.ajax({\r\n"); out.write("\t\t \turl : \"apiDel.action\",\r\n"); out.write("\t\t \ttype: 'post',\r\n"); out.write("\t\t dataType: 'json',\r\n"); out.write("\t\t async : false,\r\n"); out.write("\t\t data:{ \r\n"); out.write("\t\t \tids : ids\r\n"); out.write("\t\t },\r\n"); out.write("\t\t error: function(){\r\n"); out.write("\t\t \t$.messager.alert('错误','删除时出错!');\r\n"); out.write("\t\t },\r\n"); out.write("\t\t success: function(data){\r\n"); out.write("\t\t if(data.result == 'true'){\r\n"); out.write("\t\t \t$.messager.alert('提示','删除成功!');\r\n"); out.write("\t\t \tsearch_api();\r\n"); out.write("\t\t }else if(data.result == 'false'){\r\n"); out.write("\t\t \t$.messager.alert('错误','删除时出错!');\r\n"); out.write("\t\t }else if(data.result == 'have_sons') {\r\n"); out.write( "\t\t \t$.messager.alert('错误',data.name + '存在子级别,无法删除!');\r\n"); out.write("\t\t }\r\n"); out.write("\t\t }\r\n"); out.write("\t\t });\r\n"); out.write("\t\t\t }\r\n"); out.write("\t\t\t });\r\n"); out.write("\t\t\t}\r\n"); out.write(" }\r\n"); out.write(" \r\n"); out.write(" //清除查询表单中的搜索条件\r\n"); out.write(" function clear_form(ff){\r\n"); out.write(" var elements = ff.elements;\r\n"); out.write(" for(i=0;i<elements.length;i++){\r\n"); out.write(" var element = elements[i];\r\n"); out.write(" if(element.type==\"text\"){\r\n"); out.write(" element.value = \"\";\r\n"); out.write( " }else if(element.type==\"radio\" || element.type==\"checkbox\"){\r\n"); out.write(" \telement.checked = false;\r\n"); out.write(" }\r\n"); out.write(" }\r\n"); out.write(" var level_value_1 = $('#level_name_1').combobox('getValue');\r\n"); out.write(" $('#level_name_1').combobox('unselect', level_value_1);\r\n"); out.write(" var level_value_2 = $('#level_name_2').combobox('getValue');\r\n"); out.write(" $('#level_name_2').combobox('unselect', level_value_2);\r\n"); out.write(" }\r\n"); out.write(" \r\n"); out.write(" //双击单选按钮,取消选中状态\r\n"); out.write(" function cancel_selected(radio) {\r\n"); out.write(" \tif($(radio).attr('checked')){\r\n"); out.write(" \t\t$(radio).removeAttr('checked');\r\n"); out.write(" \t}else{\r\n"); out.write(" \t\t$(radio).attr('checked',true);\r\n"); out.write(" \t}\r\n"); out.write(" }\r\n"); out.write(" \r\n"); out.write(" \r\n"); out.write(" function search_api(){\r\n"); out.write(" \tvar queryParams = {\r\n"); out.write("\t\t\t\t\"api.name\": $(\"#name\").val(),\r\n"); out.write("\t\t\t\t\"api.createUserName\" : $('#createUserName').val(),\r\n"); out.write("\t\t\t\t\"level_code_1\" : $('#level_name_1').combobox('getValue'),\r\n"); out.write("\t\t\t\t\"level_code_2\" : $('#level_name_2').combobox('getValue')\r\n"); out.write("\t\t\t};\r\n"); out.write(" \t$('#pagination').datagrid('options').queryParams = queryParams;\r\n"); out.write(" \t$('#pagination').datagrid('clearSelections');\r\n"); out.write(" \t$(\"#pagination\").datagrid('load');\r\n"); out.write(" }\r\n"); out.write(" \r\n"); out.write(" //获得分类名称通过id\r\n"); out.write(" function findTypeNameById(level, rec) {\r\n"); out.write(" \t\tvar type_name = \"\";\r\n"); out.write(" \t\t$.ajax({\r\n"); out.write(" \t\t url: '"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/jsp/api/type/findTypeNameById.action',\r\n"); out.write(" \t\t type: 'post',\r\n"); out.write(" \t\t dataType: 'json',\r\n"); out.write(" \t\t async : false,\r\n"); out.write(" \t\t data:{\r\n"); out.write(" \t\t \t\"api.type_id\" : rec.type_id,\r\n"); out.write(" \t\t \t\"level\" : level //标记是一级还是二级\r\n"); out.write(" \t\t },\r\n"); out.write(" \t\t error: function(){\r\n"); out.write(" \t\t //alert('获取部门类型出错!');\r\n"); out.write(" \t\t },\r\n"); out.write(" \t\t success: function(data){\r\n"); out.write(" \t\t \ttype_name = data.name;\r\n"); out.write(" \t\t }\r\n"); out.write(" \t\t});\r\n"); out.write(" \t \treturn type_name;\r\n"); out.write(" }\r\n"); out.write(" \r\n"); out.write(" \t//利用ajax获得所有一级分类名称,并将这些值赋给下拉框\r\n"); out.write(" function setComboboxValues() {\r\n"); out.write(" \t$.ajax({\r\n"); out.write("\t\t\t\t url: \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/jsp/api/type/gainAllTypeNames.action\",\r\n"); out.write(" \ttype: 'post',\r\n"); out.write(" dataType: 'json',\r\n"); out.write(" async : false,\r\n"); out.write(" data : {\r\n"); out.write(" \tlevel : '1&2'\r\n"); out.write(" },\r\n"); out.write("\t\t\t\t success: function(json){\r\n"); out.write("\t\t\t\t\t $(\"#level_name_1\").combobox({\r\n"); out.write("\t\t\t\t\t\t data:json.level_1,\r\n"); out.write("\t\t\t\t\t\t valueField:'code',\r\n"); out.write("\t\t\t\t\t\t textField:'name',\r\n"); out.write("\t\t\t\t\t\t editable:false,\r\n"); out.write("\t\t\t\t\t\t onSelect:function(params){\r\n"); out.write("\t\t\t\t\t\t \t//当选择事件触发时\r\n"); out.write("\t\t\t \t $.get('"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/jsp/api/type/gainAllTypeNames.action',\r\n"); out.write("\t\t\t \t \t\t{level : '2', oneLevelCode : params.code},\r\n"); out.write("\t\t\t \t \t\tfunction(data){\r\n"); out.write("\t\t\t \t \t\t\t//为第二级下拉框赋对应的值\r\n"); out.write( "\t\t\t \t \t\t\t$(\"#level_name_2\").combobox(\"clear\").combobox('loadData',data.level_2); \r\n"); out.write("\t\t\t \t \t\t},\r\n"); out.write("\t\t\t \t \t\t'json'\r\n"); out.write("\t\t\t \t );\r\n"); out.write("\r\n"); out.write("\t\t\t \t }\r\n"); out.write("\t\t\t\t\t });\r\n"); out.write("\t\t\t\t\t \r\n"); out.write("\t\t\t\t\t $(\"#level_name_2\").combobox({\r\n"); out.write("\t\t\t\t\t\t data:json.level_2,\r\n"); out.write("\t\t\t\t\t\t valueField:'code',\r\n"); out.write("\t\t\t\t\t\t textField:'name',\r\n"); out.write("\t\t\t\t\t\t editable:false\r\n"); out.write("\t\t\t\t\t });\r\n"); out.write("\t\t\t\t }\r\n"); out.write("\t\t\t});\r\n"); out.write(" }\r\n"); out.write(" \t\r\n"); out.write(" \t\r\n"); out.write(" $(function(){\r\n"); out.write(" \t//初始化下拉框的值\r\n"); out.write(" \tsetComboboxValues();\r\n"); out.write(" \t\r\n"); out.write(" \t//加载datagrid数据\r\n"); out.write("\t\t\t$('#pagination').datagrid({\r\n"); out.write("\t\t\t\ttitle:'列表',\r\n"); out.write("\t\t\t\ticonCls:'icon-save',\r\n"); out.write("\t\t\t\tnowrap: false,\r\n"); out.write("\t\t\t\tstriped: true,\r\n"); out.write("\t\t\t\tcollapsible:true,\r\n"); out.write("\t\t\t\turl:'apiQuery.action',\r\n"); out.write("\t\t\t\tqueryParams:{\r\n"); out.write("\t\t\t\t\t\"api.name\": $(\"#name\").val()\r\n"); out.write("\t\t\t\t},\r\n"); out.write("\t\t\t\tidField:'id',\r\n"); out.write("\t\t\t\tremoteSort: false,\r\n"); out.write("\t\t\t\tfrozenColumns:[[\r\n"); out.write("\t\t\t\t {field:'id',checkbox:true}\r\n"); out.write("\t\t\t\t]],\r\n"); out.write("\t\t\t\tcolumns:[[\r\n"); out.write("\t\t\t\t\t\t\t{field:'name',title:'名称',width:100},\r\n"); out.write( "\t\t\t\t\t\t\t{field:'one_level_name',title:'一级分类',width:100,formatter:function(value,rec){\r\n"); out.write("\t\t\t\t\t\t\t\treturn findTypeNameById('1', rec);\r\n"); out.write("\t\t\t\t\t\t\t}},\r\n"); out.write( "\t\t\t\t\t\t\t{field:'second_level_name',title:'二级分类',width:100,formatter:function(value,rec){\r\n"); out.write("\t\t\t\t\t\t\t\treturn findTypeNameById('2', rec);\r\n"); out.write("\t\t\t\t\t\t\t}},\r\n"); out.write("\t\t\t\t\t\t\t{field:'createUserName',title:'创建人',width:100},\r\n"); out.write( "\t\t\t\t \t{field:'op',title:'操作',width:100,formatter:function(value,rec){\r\n"); out.write( "\t\t\t\t\t\t\t\treturn \"<span style='color:red;cursor:hand' onclick=\\\"edit('\"+rec.id+\"')\\\">编辑</span>\";\r\n"); out.write(" \t}}\r\n"); out.write("\t\t\t\t ]],\r\n"); out.write("\t\t\t\tpagination:true,\r\n"); out.write("\t\t\t\tonLoadSuccess:tabOnloadSuccess,\r\n"); out.write("\t\t\t\tonLoadError:tabOnloadSuccess,\r\n"); out.write("\t\t\t\trownumbers:true,\r\n"); out.write("\t\t\t\tpageList:[10,20,30],\r\n"); out.write("\t\t\t\tonHeaderContextMenu: function(e, field){\r\n"); out.write("\t\t\t\t\te.preventDefault();\r\n"); out.write("\t\t\t\t\tif (!$('#tmenu').length){\r\n"); out.write("\t\t\t\t\t\tcreateColumnMenu();\r\n"); out.write("\t\t\t\t\t}\r\n"); out.write("\t\t\t\t\t$('#tmenu').menu('show', {\r\n"); out.write("\t\t\t\t\t\tleft:e.pageX,\r\n"); out.write("\t\t\t\t\t\ttop:e.pageY\r\n"); out.write("\t\t\t\t\t});\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t\t\t});\r\n"); out.write("\t\t});\r\n"); out.write("\r\n"); out.write(" var titles = new Array();\r\n"); out.write(" function createColumnMenu(){\r\n"); out.write( "\t\t\tvar tmenu = $('<div id=\"tmenu\" style=\"width:150px;\"></div>').appendTo('body');\r\n"); out.write("\t\t\tvar fields = $('#pagination').datagrid('getColumnFields');\r\n"); out.write("\t\t\t\r\n"); out.write("\t\t\tfor(var i=0; i<fields.length; i++){\r\n"); out.write("\t\t\t\tvar option = $('#pagination').datagrid('getColumnOption',fields[i]);\r\n"); out.write("\t\t\t\tvar obj = {};\r\n"); out.write("\t\t\t\tobj.title = option.title;\r\n"); out.write("\t\t\t\tobj.field = fields[i];\r\n"); out.write("\t\t\t\ttitles[i] = obj;\r\n"); out.write("\t\t\t}\t\t\t\r\n"); out.write("\t\t\tfor(var i=0; i<titles.length; i++){\r\n"); out.write( "\t\t\t\t$('<div iconCls=\"icon-ok\"/>').html(titles[i].title).appendTo(tmenu);\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\ttmenu.menu({\r\n"); out.write("\t\t\t\tonClick: function(item){\r\n"); out.write("\t\t\t\t\tif (item.iconCls=='icon-ok'){\r\n"); out.write("\t\t\t\t\t\tvar field;\r\n"); out.write("\t\t\t\t\t\tfor(var i=0; i<titles.length; i++){\r\n"); out.write("\t\t\t\t\t\t\tif(titles[i].title==item.text){\r\n"); out.write("\t\t\t\t\t\t\t\tfield = titles[i].field;\r\n"); out.write("\t\t\t\t\t\t\t}\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t\t\t\t\t$('#pagination').datagrid('hideColumn', field);\r\n"); out.write("\t\t\t\t\t\ttmenu.menu('setIcon', {\r\n"); out.write("\t\t\t\t\t\t\ttarget: item.target,\r\n"); out.write("\t\t\t\t\t\t\ticonCls: 'icon-empty'\r\n"); out.write("\t\t\t\t\t\t});\r\n"); out.write("\t\t\t\t\t} else {\r\n"); out.write("\t\t\t\t\t\tvar field;\r\n"); out.write("\t\t\t\t\t\tfor(var i=0; i<titles.length; i++){\r\n"); out.write("\t\t\t\t\t\t\tif(titles[i].title==item.text){\r\n"); out.write("\t\t\t\t\t\t\t\tfield = titles[i].field;\r\n"); out.write("\t\t\t\t\t\t\t}\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t\t\t\t\t$('#pagination').datagrid('showColumn', field);\r\n"); out.write("\t\t\t\t\t\ttmenu.menu('setIcon', {\r\n"); out.write("\t\t\t\t\t\t\ttarget: item.target,\r\n"); out.write("\t\t\t\t\t\t\ticonCls: 'icon-ok'\r\n"); out.write("\t\t\t\t\t\t});\r\n"); out.write("\t\t\t\t\t}\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t\t\t});\r\n"); out.write("\t\t}\r\n"); out.write("\t\t$(window).resize(function(){\r\n"); out.write(" $('#pagination').datagrid('resize',{\r\n"); out.write(" \twidth: document.body.clientWidth-20\r\n"); out.write(" });\r\n"); out.write(" });\r\n"); out.write("\t\t\r\n"); out.write(" </script>\r\n"); out.write("</head>\r\n"); out.write("\r\n"); out.write("<body>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<script>\r\n"); out.write("function doReturnOrClose(backtimes) {\r\n"); out.write(" if (this.parent != null && this.opener == null) {\r\n"); out.write(" history.go(backtimes);\r\n"); out.write(" }\r\n"); out.write(" else {\r\n"); out.write(" window.close();\r\n"); out.write(" }\r\n"); out.write("}\r\n"); out.write("function showError() {\r\n"); out.write(" if (document.getElementById(\"errorMessages\") != null) {\r\n"); out.write( " document.getElementById(\"errorMessages\").style.display = 'block';\r\n"); out.write(" }\r\n"); out.write("\r\n"); out.write("}\r\n"); out.write("</script>\r\n"); out.write("<div class=\"pages_right_main\">\r\n"); out.write("<!-- \r\n"); out.write("<div class=\"location\">\r\n"); out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td class=\"header01\"></td>\r\n"); out.write("\t\t<td class=\"headerbg\" valign=\"middle\" align=\"left\"> <img src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/webResources/themes/"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${curr_user.cssId}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/images/default/location_bg_01.jpg\" /><edp:showCurrPath moduleCode=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currModuleCode}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" customPath=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${curr_path}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\"/> \r\n"); out.write("\t\t</td>\r\n"); out.write("\t\t<td class=\"header01\">\r\n"); out.write("\t\t<div style=\"cursor: hand; width: 100%; height: 100%;\" title=\"查看异常\"\r\n"); out.write("\t\t\tonclick='javascript:showError();'> </div>\r\n"); out.write("\t\t</td>\r\n"); out.write("\t\t<td class=\"header02\">\r\n"); out.write("\t\t<div style=\"cursor: hand; width: 100%; height: 100%;\" title=\"页面回退\"\r\n"); out.write("\t\t\tonclick='javascript:doReturnOrClose(-1);'></div>\r\n"); out.write("\t\t</td>\r\n"); out.write("\t\r\n"); out.write("\t</tr>\r\n"); out.write("</table>\r\n"); out.write("</div> -->\r\n"); out.write("<table width=\"100%\" style=\"height:95%\" border=\"0\" cellspacing=\"0\"\r\n"); out.write("\tcellpadding=\"0\">\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td class=\"content0201\"></td>\r\n"); out.write("\t\t<td valign=\"top\" height=\"100%\">"); out.write("\r\n"); out.write("\r\n"); out.write("<form name=\"myform\" method=\"post\">\r\n"); out.write("\t<div class=\"submitdata\">\r\n"); out.write("\t\t<table width=\"100%\">\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<th width=\"5%\">创建人:</th>\r\n"); out.write( "\t\t\t\t<td width=\"25%\"><input name=\"createUserName\" id=\"createUserName\" value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${api.createUserName}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" type=\"text\"></td>\r\n"); out.write("\t\t\t\t<th width=\"5%\">API名称:</th>\r\n"); out.write("\t\t\t\t<td width=\"25%\"><input name=\"api\" id=\"name\" value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${api.name}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" type=\"text\"></td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<th width=\"5%\">一级分类:</th>\r\n"); out.write("\t\t\t\t<td width=\"25%\">\r\n"); out.write( "\t\t\t\t\t<select id=\"level_name_1\" style=\"width:200px;\" onchange=\"setSecondValue(this)\">\r\n"); out.write("\t\t\t\t\t</select>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t\t<th width=\"5%\">二级分类:</th>\r\n"); out.write("\t\t\t\t<td width=\"25%\">\r\n"); out.write("\t\t\t\t\t<select id=\"level_name_2\" style=\"width:200px;\">\r\n"); out.write("\t\t\t\t\t</select>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td colspan=\"4\" align=\"center\">\r\n"); out.write( "\t\t\t\t<a href=\"###\" class=\"easyui-linkbutton\" onclick=\"search_api()\" iconCls=\"icon-search\">查询</a> \r\n"); out.write( "\t\t\t\t<a href=\"###\" class=\"easyui-linkbutton\" onclick=\"clear_form(document.myform);\" iconCls=\"icon-undo\">清空</a> \t\t\t\t\r\n"); out.write( "\t\t\t\t<a href=\"###\" class=\"easyui-linkbutton\" onclick=\"addNew();\" iconCls=\"icon-add\">添加</a> \r\n"); out.write( "\t\t\t\t<a href=\"###\" class=\"easyui-linkbutton\" onclick=\"del();\" iconCls=\"icon-remove\">删除</a>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t</table>\r\n"); out.write("\t</div>\r\n"); out.write("\t\t<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td>\r\n"); out.write( "\t\t\t\t<div id=\"pagination\" style=\"background:#efefef;border:1px solid #ccc;\">\r\n"); out.write("\t\t\t\t\r\n"); out.write("\t\t\t\t</div>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t</table>\r\n"); out.write("</form>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("</td>\r\n"); out.write("<td class=\"content0203\"></td>\r\n"); out.write("</tr>\r\n"); out.write("</table>\r\n"); out.write("</div>"); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>\r\n"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n"); out.write("<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n"); out.write("<title>短信设置</title>\r\n"); out.write('\r'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_c_005fif_005f0(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fif_005f1(_jspx_page_context)) return; out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_c_005fset_005f2(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f3(_jspx_page_context)) return; out.write('\r'); out.write('\n'); if (_jspx_meth_c_005fset_005f4(_jspx_page_context)) return; out.write("\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("\tvar globalTimestamp = \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\";\r\n"); out.write("\tvar globalLocale = \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentLocale}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\";\r\n"); out.write("\tvar globalSkin = \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentSkin}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\";\r\n"); out.write("\tvar globalClientWidth = document.documentElement.clientWidth;\r\n"); out.write("\tvar globalClientHeight = document.documentElement.clientHeight;\r\n"); out.write("\tvar globalWebRoot = \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\";\r\n"); out.write("\tvar urlPrefix = \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${urlPrefix}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\";\r\n"); out.write("</script>"); out.write("\r\n"); out.write("\r\n"); out.write("<script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/seajs/sea.js?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" type=\"text/javascript\"></script>\r\n"); out.write("<script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/jquery/jquery-1.11.0.min.js?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" type=\"text/javascript\"></script>\r\n"); out.write("<script type=\"text/javascript\">seajs.config({vars: { currentLocale: '"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentLocale}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("',currentSkin:'"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentSkin}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("'},base: '"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/',map: [[ /^(.*\\.(?:css|js))(.*)$/i, '$1?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("' ]],charset: 'UTF-8'});</script>\r\n"); out.write("<link rel=stylesheet href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/css/base/"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentSkin}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/base.css?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write('"'); out.write('/'); out.write('>'); out.write("\r\n"); out.write("<script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/miniui/miniui.js?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" type=\"text/javascript\"></script>\r\n"); out.write("<script src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/miniui/locale/"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentLocale}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write(".js?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" type=\"text/javascript\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/comm/miniui_ext.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/comm/miniuiExtButtons.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/comm/DataUtil.js\"></script>\r\n"); out.write("\r\n"); out.write("<link rel=stylesheet href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/css/miniui/default/miniui.css?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\"/>\r\n"); out.write("<link rel=stylesheet href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/css/miniui/icons.css?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\"/>\r\n"); out.write("<link rel=stylesheet href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/css/miniui/"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentSkin}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/skin.css?"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentTimestamp}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\"/>\r\n"); out.write("<link rel=stylesheet href=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/css/comm/miniui_ext.css\"/>\r\n"); out.write("\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/tracywindy/tracywindyJsonUtil.js\"></script>\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("\tfunction getRootPath() {\r\n"); out.write("\t\tvar strFullPath = window.document.location.href;\r\n"); out.write("\t\tvar strPath = window.document.location.pathname;\r\n"); out.write("\t\tvar pos = strFullPath.indexOf(strPath);\r\n"); out.write("\t\tvar prePath = strFullPath.substring(0, pos);\r\n"); out.write("\t\tvar postPath = strPath.substring(0, strPath.substr(1).indexOf('/') + 1);\r\n"); out.write("\t\treturn (prePath + postPath);\r\n"); out.write("\t}\r\n"); out.write("\tfunction miniextonbeforeshowpopup(e) {\r\n"); out.write("\t\tminiui_ext.onbeforeshowpopup(e);\r\n"); out.write("\t}\r\n"); out.write("\tfunction miniextonDateRenderer(e){\r\n"); out.write("\t\treturn miniui_ext.onDateRenderer(e);\r\n"); out.write("\t}\r\n"); out.write("\tfunction toggleFieldSet(ck, id) {\r\n"); out.write(" var dom = document.getElementById(id);\r\n"); out.write(" dom.className = !ck.checked ? \"hideFieldset\" : \"\";\r\n"); out.write(" var _fit = mini.get(\"_fit\");\r\n"); out.write(" _fit.setHeight(window.document.body.clientHeight);\r\n"); out.write(" }\r\n"); out.write("\tfunction CloseWindow(action) { \r\n"); out.write("\t\tif (action == \"close\" && grid.isChanged()) {\r\n"); out.write("\t if (confirm(\"æ°æ®è¢«ä¿®æ¹äºï¼æ¯å¦å ä¿åï¼\")) {\r\n"); out.write("\t return false;\r\n"); out.write("\t }\r\n"); out.write("\t }\r\n"); out.write("\t if (window.CloseOwnerWindow) return window.CloseOwnerWindow(action);\r\n"); out.write("\t else window.close(); \r\n"); out.write("\t}\r\n"); out.write("\tfunction onCancel(e) {\r\n"); out.write("\t CloseWindow(\"cancel\");\r\n"); out.write("\t}\r\n"); out.write("\tfunction onCloseClick(e) {\r\n"); out.write("\t var obj = e.sender;\r\n"); out.write("\t obj.setText(\"\");\r\n"); out.write("\t obj.setValue(\"\");\r\n"); out.write("\t}\r\n"); out.write("\tfunction isEnglish(){\r\n"); out.write("\t\t if(\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${sessionScope['login_userlanguage'].language}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" == 'en'){\r\n"); out.write("\t\t\t \treturn true;\r\n"); out.write(" }\r\n"); out.write("\t\treturn false;\r\n"); out.write("\t}\r\n"); out.write("\t\r\n"); out.write("\t//设置千分位之后的值\r\n"); out.write("\tfunction setformatvalue(m){\r\n"); out.write("\t\tvar pMoneyOri = m.getInputText().trim();\r\n"); out.write("\t\tvar pMoney = pMoneyOri.replace(/,/gi,\"\");\r\n"); out.write("\t\tvar pMoneyReg = /^[-\\+]?\\d+[\\.]?([0-9]{1,2})?$/;\r\n"); out.write("\t\tvar flag = true;\r\n"); out.write("\t\tif(m.vtype == 'rate'){\r\n"); out.write("\t\t\t pMoneyReg = /^[-\\+]?\\d+[\\.]?([0-9]{1,6})?$/;\r\n"); out.write("\t\t\t flag = false;\r\n"); out.write("\t\t}else if(m.vtype == 'int'){\r\n"); out.write("\t\t\t pMoneyReg = /^[-\\+]?\\d+$/;\r\n"); out.write("\t\t\t flag = false;\r\n"); out.write("\t\t}\r\n"); out.write("\t\t\r\n"); out.write("\t\tif(pMoneyOri && !pMoneyReg.test(pMoney)){\r\n"); out.write("\t\t\tpMoney = 0;\r\n"); out.write("\t\t\tm.setValue();\r\n"); out.write("\t\t\tm.setValue('0');\r\n"); out.write("\t\t}else{\r\n"); out.write("\t\t\t//把非数字的字符格式化成空格、并千分位\r\n"); out.write("\t\t\tif(flag){\r\n"); out.write("\t\t\t\tm.setValue(formatNumberThousand(pMoney));\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t}\r\n"); out.write("\t}\r\n"); out.write("\t//设置千分位\r\n"); out.write("\tfunction setapcolumnformatvalue(m){\r\n"); out.write("\t\tvar obj = m.sender;\r\n"); out.write("\t\tvar pMoneyOri = obj.getInputText().trim();\r\n"); out.write("\t\tvar pMoney = pMoneyOri.replace(/,/gi,\"\");\r\n"); out.write("\t\tif(!pMoney){pMoney = 0};\r\n"); out.write("\t\tvar pMoneyReg = /^[-\\+]?\\d+[\\.]?([0-9]{1,2})?$/;\r\n"); out.write("\t\tif(obj.vtype == 'rate'){\r\n"); out.write("\t\t\tvar pMoneyReg = /^[-\\+]?\\d+[\\.]?([0-9]{1,6})?$/;\r\n"); out.write("\t\t}\r\n"); out.write("\t\tif((pMoney && pMoney.length>=0) && !pMoneyReg.test(pMoney)){\r\n"); out.write("\t\t\tpMoney = 0;\r\n"); out.write("\t\t\tobj.setValue();\r\n"); out.write("\t\t\tobj.setValue('0');\r\n"); out.write("\t\t}else{\r\n"); out.write("\t\t\tobj.setValue();\r\n"); out.write("\t\t\tobj.setValue(formatNumberThousand(pMoney));\r\n"); out.write("\t\t}\r\n"); out.write("\t}\r\n"); out.write("\t//格式化数字为千分位\r\n"); out.write("\tfunction formatNumberThousand(s) { \r\n"); out.write("\t\t s += \"\";\r\n"); out.write("\t\t s = s.replace(/,/g,\"\");\r\n"); out.write("\t\t \r\n"); out.write("\t\t if(isNaN(s)){\r\n"); out.write("\t\t\t return s;\r\n"); out.write("\t\t }\r\n"); out.write("\t\t //if(s==0){s=\"0.00\";}\r\n"); out.write("\t\t s += \"\";\r\n"); out.write("\t\t //s = s.replace(/,/g,\"\");\r\n"); out.write("\t\t var re=/(\\d{1,3})(?=(\\d{3})+(?:$|\\D))/g; //\r\n"); out.write("\t\t var n1=s.replace(re,\"$1,\");\r\n"); out.write("\t\t return n1;\r\n"); out.write("\t}\r\n"); out.write("\t\r\n"); out.write("</script>"); out.write("\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/tracywindy/workFlowUtil.js\"></script>\r\n"); out.write("<script type=\"text/javascript\" src=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/js/tracywindy/tracywindyUtils.js\"></script>\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("jQuery(function() {\r\n"); out.write("\t\tseajs.use([ \"js/apcomponent/aptable/aptable.js\" ], function(ApTable) {\r\n"); out.write("\t\t\tnew ApTable({\r\n"); out.write("\t\t\t\tid : 'table_id1',\r\n"); out.write("\t\t\t\twidth : globalClientWidth,\r\n"); out.write("\t\t\t\theight : globalClientHeight,\r\n"); out.write("\t\t\t\ttitle : '短信设置',\r\n"); out.write("\t\t\t\ticonCls : 'icon-node',\r\n"); out.write("\t\t\t\tmultiSelect : true,\r\n"); out.write("\t\t\t\thiddenQueryArea : true,//是否将查询区域折叠起来\r\n"); out.write("\t\t\t\tqueryButtonColSpan : 2,\r\n"); out.write("\t\t\t\tqueryButtonNewLine:false,\r\n"); out.write("\t\t\t\tremoteOper:true,\r\n"); out.write("\t\t\t\tentityClassName:'com.tenwa.business.entity.message.MessageConfig',\r\n"); out.write("\t\t\t\tshowPager:true,\r\n"); out.write("\t\t\t\txmlFileName : '/interface/queryMessageConfig.xml',\r\n"); out.write("\t\t\t\ttools : ['add', '-', 'edit'],\r\n"); out.write("\t\t\t\tcolumns : [ \r\n"); out.write("\t\t\t\t {type : 'indexcolumn'},\r\n"); out.write("\t\t\t\t\t{type : 'checkcolumn'}, \r\n"); out.write("\t\t\t\t\t{header:'记录编号',field:'id',visible : false},\r\n"); out.write("\t\t {header:'短信服务器主机',field:'host',\r\n"); out.write("\t\t\t\t\t\tformEditorConfig:{\r\n"); out.write("\t\t\t\t\t\t\twidth:200,\r\n"); out.write("\t\t\t\t\t\t\tlabelWidth:300,\r\n"); out.write("\t\t \t\trequired : true\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t },\r\n"); out.write("\t\t {header:'短信服务器端口',field:'port',\r\n"); out.write("\t\t\t\t\t\tformEditorConfig:{\r\n"); out.write("\t\t\t\t\t\t\twidth:200,\r\n"); out.write("\t\t\t\t\t\t\tlabelWidth:300,\r\n"); out.write("\t\t \t\trequired : true\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t },\r\n"); out.write("\t\t {header:'短信发送者',field:'sender',\r\n"); out.write("\t\t \tformEditorConfig:{\r\n"); out.write("\t\t \t\twidth:200,\r\n"); out.write("\t\t \t\trequired : true,//是否必填\r\n"); out.write("\t\t\t\t\t\t\tnewLine: true\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t },\r\n"); out.write("\t\t {header:'短信发送者密码',field:'senderpassword',\r\n"); out.write("\t\t\t\t\t\tformEditorConfig:{\r\n"); out.write("\t\t\t\t\t\t\twidth:200,\r\n"); out.write("\t\t \t\trequired : true\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t },\r\n"); out.write("\t\t {header:'短信发送的URL',field:'sendmessageurl',\r\n"); out.write("\t\t \tformEditorConfig:{\r\n"); out.write("\t\t \t\twidth:200,\r\n"); out.write("\t\t \t\trequired : true,//是否必填\r\n"); out.write("\t\t\t\t\t\t\tnewLine: true\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t },\r\n"); out.write("\t\t {header:'短信发送时参数信息',field:'sendparamsurl',\r\n"); out.write("\t\t\t\t\t\tformEditorConfig:{\r\n"); out.write("\t\t\t\t\t\t\twidth:200,\r\n"); out.write("\t\t \t\trequired : true\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t },\r\n"); out.write("\t\t {header:'短信子码',field:'subcode',\r\n"); out.write("\t\t\t\t\t\tformEditorConfig:{\r\n"); out.write("\t\t\t\t\t\t\twidth:200,\r\n"); out.write("\t\t\t\t\t\t\tnewLine: true,\r\n"); out.write("\t\t \t\trequired : true\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t }\r\n"); out.write("\t\t\t\t\t\t\r\n"); out.write("\t\t\t\t]\r\n"); out.write("\t\t\t});\r\n"); out.write("\t\t});\r\n"); out.write("\t});\r\n"); out.write("</script>\r\n"); out.write("</head>\r\n"); out.write("<body></body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write('\r'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); com.konakart.al.KKAppEng kkEng = (com.konakart.al.KKAppEng) session.getAttribute("konakartKey"); out.write("\r\n"); out.write("\r\n"); out.write(" \t\t\t\t<h1 id=\"page-title\">"); if (_jspx_meth_kk_005fmsg_005f0(_jspx_page_context)) return; out.write("</h1>\t\t\t\r\n"); out.write("\t \t\t<div class=\"content-area rounded-corners\">\r\n"); out.write("\t\t \t\t<div id=\"about-us\">\r\n"); out.write("\t\t \t\t\t"); if (_jspx_meth_kk_005fmsg_005f1(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t\t\t\t\t<div class=\"form-buttons-wide\">\r\n"); out.write( "\t\t\t\t\t\t\t<a href=\"Welcome.action\" id=\"continue-button\" class=\"button small-rounded-corners\"><span>"); if (_jspx_meth_kk_005fmsg_005f2(_jspx_page_context)) return; out.write("</span></a>\r\n"); out.write("\t\t\t\t\t\t</div>\r\n"); out.write("\t\t\t \t</div>\r\n"); out.write("\t \t\t</div>\r\n"); out.write("\r\n"); out.write("\r\n"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html;charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, false, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); out = pageContext.getOut(); _jspx_out = out; out.write("<!DOCTYPE html>"); out.write("<html>"); out.write("<head>"); out.write("<title>"); out.write("Oryx Computation Layer"); out.write("</title>"); out.write("<link href=\"/style.jspx\" type=\"text/css\" rel=\"stylesheet\"/>"); out.write("<script type=\"text/javascript\">"); out.write( "\nfunction confirmAndPost(formName) {\n if (confirm(\"Are you sure?\")) {\n document.forms[formName].submit();\n return true;\n } else {\n return false;\n }\n}\n"); out.write("</script>"); out.write("</head>"); out.write("<body>"); out.write("<div style=\"width:800px;margin-left:auto;margin-right:auto;padding:10px\">"); out.write("<h1>"); out.write("Oryx Computation Layer"); out.write("</h1>"); out.write("<h2>"); out.write("Generations"); out.write("</h2>"); out.write("<table style=\"width:100%\">"); out.write("<tr>"); out.write("<th>"); out.write("Name"); out.write("</th>"); out.write("<th>"); out.write("Status"); out.write("</th>"); out.write("<th>"); out.write("Start"); out.write("</th>"); out.write("<th style=\"width:50px\">"); out.write("Map %"); out.write("</th>"); out.write("<th style=\"width:50px\">"); out.write("Reduce %"); out.write("</th>"); out.write("<th>"); out.write('E'); out.write('n'); out.write('d'); out.write("</th>"); out.write("</tr>"); PeriodicRunner periodicRunner = (PeriodicRunner) application.getAttribute(ComputationInitListener.PERIODIC_RUNNER_KEY); pageContext.setAttribute("periodicRunner", periodicRunner); PeriodicRunnerState periodicRunnerState = periodicRunner.getState(); if (!periodicRunnerState.isRunning()) { Date nextScheduledRun = periodicRunnerState.getNextScheduledRun(); pageContext.setAttribute( "nextScheduledRun", nextScheduledRun == null ? "" : formatShort(nextScheduledRun)); pageContext.setAttribute( "currentGenerationMB", periodicRunnerState.getCurrentGenerationMB()); out.write("<tr>"); out.write("<td style=\"background-color:black;text-align:left\" colspan=\"2\">"); out.write("<span style=\"font-style:italic\">"); out.write("Next Generation ("); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${currentGenerationMB}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write(" MB written)"); out.write("</span>"); out.write("\n ·\n "); out.write( "<form style=\"display:inline\" method=\"POST\" action=\"/periodicRunner/forceRun\" name=\"periodicRunnerForceRun\">"); out.write("<a href=\"javascript:confirmAndPost('periodicRunnerForceRun')\">"); out.write("Force Run"); out.write("</a>"); out.write("</form>"); out.write("</td>"); out.write("<td style=\"background-color:black;font-style:italic\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${nextScheduledRun}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write("<td style=\"background-color:black\" colspan=\"3\">"); out.write(" "); out.write("</td>"); out.write("</tr>"); } for (GenerationRunnerState generationState : periodicRunner.getState().getGenerationStates()) { pageContext.setAttribute("generationState", generationState); pageContext.setAttribute("statusHexColor", getHexColor(generationState.getStatus())); pageContext.setAttribute( "formattedStartDateTime", formatShort(generationState.getStartTime())); pageContext.setAttribute("formattedEndDateTime", formatShort(generationState.getEndTime())); out.write("<tr>"); out.write("<td style=\"background-color:black;text-align:left\">"); out.write("<strong>"); out.write("Generation "); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${generationState.generationID}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</strong>"); out.write(" · "); out.write("<a target=\"_blank\" href=\"/log.txt\">"); out.write("Logs"); out.write("</a>"); if (generationState.isRunning()) { out.write("\n ·\n "); out.write( "<form style=\"display:inline\" method=\"POST\" action=\"/periodicRunner/interrupt\" name=\"periodicRunnerInterrupt\">"); out.write("<a href=\"javascript:confirmAndPost('periodicRunnerInterrupt')\">"); out.write("Interrupt"); out.write("</a>"); out.write("</form>"); } out.write("</td>"); out.write( "<td style=\"" + (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "background-color:black;text-align:center;color:${statusHexColor}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, true) + "\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${generationState.status}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write("<td style=\"background-color:black\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${formattedStartDateTime}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write("<td style=\"background-color:black\" colspan=\"2\">"); out.write(" "); out.write("</td>"); out.write("<td style=\"background-color:black\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${formattedEndDateTime}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write("</tr>"); for (StepState stepState : generationState.getStepStates()) { pageContext.setAttribute("statusHexColor", getHexColor(stepState.getStatus())); pageContext.setAttribute("stepState", stepState); pageContext.setAttribute("formattedStartDateTime", formatShort(stepState.getStartTime())); pageContext.setAttribute("formattedEndDateTime", formatShort(stepState.getEndTime())); pageContext.setAttribute("mapProgress", formatPercent(stepState.getMapProgress())); pageContext.setAttribute("reduceProgress", formatPercent(stepState.getReduceProgress())); String stepStateName = stepState.getName(); pageContext.setAttribute("stepStateName", stepStateName); out.write("<tr>"); out.write("<td>"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${stepState.name}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write( "<td style=\"" + (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "text-align:center;color:${statusHexColor}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, true) + "\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${stepState.status}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write("<td>"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${formattedStartDateTime}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write("<td class=\"meter\">"); out.write( "<span style=\"" + (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "width:${mapProgress}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, true) + "\">"); out.write(" "); out.write("</span>"); out.write("</td>"); out.write("<td class=\"meter\">"); out.write( "<span style=\"" + (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "width:${reduceProgress}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, true) + "\">"); out.write(" "); out.write("</span>"); out.write("</td>"); out.write("<td>"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${formattedEndDateTime}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</td>"); out.write("</tr>"); } } out.write("</table>"); out.write("<p>"); out.write("© Cloudera, Inc., except for included third-party open source software."); out.write("</p>"); out.write("</div>"); out.write("</body>"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("\r\n"); out.write("<!-- 插入样式和JS -->\r\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../proj_approval/base.jsp", out, false); out.write('\r'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../../util/flow_condition_select.jsp", out, false); out.write("\r\n"); out.write("<!-- 特殊附件显示公用方法 -->\r\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../../util/proj_view_file.jsp", out, false); out.write("\r\n"); out.write("<!-- 项目立项附件带到租前业务相关流程 -->\r\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "initFileListParams.jsp", out, false); out.write("\r\n"); out.write("<!-- 项目信审申请 -->\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("//页面初始化\r\n"); out.write("var isSubTable=false;\r\n"); out.write("//全局变量说是这一个只读业页\r\n"); out.write("isViewHistoryTask = true;\r\n"); out.write("//是否保存 \r\n"); out.write("function workflowSaveCallBack()//返回true提交,返回false不提交 ,该回调函数可与用表单字段验证\r\n"); out.write("{\r\n"); out.write("\tfillHiddenVal();\r\n"); out.write("\treturn true;\r\n"); out.write("}\r\n"); out.write("//是否提交 \r\n"); out.write( "function workflowSubmitCallBack(buttonText)//返回true提交,返回false不提交 ,该回调函数可与用表单字段验证\r\n"); out.write("{\r\n"); out.write("\tfillHiddenVal();\r\n"); out.write( "\tvar submitProcessedForm = document.getElementById(\"id_submitProcessedForm\");\r\n"); out.write("\t//var isPassed = Validator.Validate(submitProcessedForm,1,false);\r\n"); out.write("\t//if(!isPassed){return isPassed;}\r\n"); out.write("\t/*if(buttonText==\"Submit\"){\r\n"); out.write( " \tvar condtion=\"[{condtion:'正常审批',rote:'10台以上资料审核'},{condtion:'直接审批',rote:'10台以上资料齐全'}]\";\r\n"); out.write("\t\tif(!isSelectRote){\r\n"); out.write(" \tselectRoteByCondtion(condtion);\r\n"); out.write(" \treturn false;\r\n"); out.write(" }else{\r\n"); out.write(" \treturn isPassed;\r\n"); out.write(" }\r\n"); out.write(" }\r\n"); out.write("\tisSelectRote=false;*/\r\n"); out.write("\treturn true;\r\n"); out.write("}\r\n"); out.write("var isSelectRote=false; \r\n"); out.write("var selectRote=\"\"; \r\n"); out.write("\r\n"); out.write("function workflowNextRouteCallBack(buttonText,requestNextRoute){\r\n"); out.write(" if(buttonText==\"Submit\"){\r\n"); out.write(" \t\trequestNextRoute.value=\"04信审部经理审核\";\r\n"); out.write(" \t\t//isSelectRote=false;\r\n"); out.write(" }\r\n"); out.write("}\r\n"); out.write("</script>\r\n"); out.write("<!--多行控件 -->\r\n"); out.write( "<input type=\"hidden\" id=\"id_json_proj_equip_str\" name=\"json_proj_equip_str\" value='"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${empty json_proj_equip_str ? \"[]\" : json_proj_equip_str }", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("'></input>\r\n"); out.write( "<input type=\"hidden\" id=\"id_json_proj_guarantee_method_str\" \tname=\"json_proj_guarantee_method_str\" value='"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${empty json_proj_guarantee_method_str ? \"[]\" : json_proj_guarantee_method_str }", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("'></input>\r\n"); out.write( "<input type=\"hidden\" id=\"id_json_proj_guarantee_equip_str\" name=\"json_proj_guarantee_equip_str\" value='"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${empty json_proj_guarantee_equip_str ? \"[]\" : json_proj_guarantee_equip_str }", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("'></input>\r\n"); out.write( "<input type=\"hidden\" id=\"id_json_word_list_str\" name=\"json_word_list_str\" value='"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${empty json_word_list_str ? \"[]\" : json_word_list_str }", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("'></input>\r\n"); out.write("<div class=\"fillTableContainer\">\r\n"); out.write(" <table class=\"fillTable\" cellspacing=\"0\" cellpadding=\"0\">\r\n"); out.write("\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td colspan=4><!-- 插入项目基本信息 --> "); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../proj_approval/proj_base_info_forcredit.jsp", out, false); out.write("</td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td colspan=4><!-- 插入项目其它基本信息 --> "); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "proj_base_other_info.jsp", out, false); out.write("</td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td colspan=4><!-- 插入项目信审其它基本信息 --> "); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "proj_credit_other_info.jsp", out, false); out.write("</td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t\r\n"); out.write("\t<tr>\r\n"); out.write(" <td colspan=4>\r\n"); out.write(" <script type=\"text/javascript\">\r\n"); out.write("\t\t\t\t\t jQuery(function() {\r\n"); out.write("\t\t\t\t\t\t isViewHistoryTask = false;\r\n"); out.write("\t\t\t\t\t\t });\r\n"); out.write("\t\t </script>\r\n"); out.write(" "); if (_jspx_meth_c_005fif_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write(" <script type=\"text/javascript\">\r\n"); out.write("\t\t\t\t\t jQuery(function() {\r\n"); out.write("\t\t\t\t\t\t //isViewHistoryTask = true;\r\n"); out.write("\t\t\t\t\t\t });\r\n"); out.write("\t\t </script>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("\t\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td colspan=4><!-- 插入项目评审结果 -->\r\n"); out.write( "\t\t\t<script language=\"javascript\">jQuery(function() {isViewHistoryTask = false;});</script> \r\n"); out.write("\t\t\t "); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "proj_credit_result_info.jsp", out, false); out.write("\r\n"); out.write( "\t\t\t<script language=\"javascript\">jQuery(function() {isViewHistoryTask = true;});</script>\r\n"); out.write(" </td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td colspan=4 class=\"td-even-line-separator\"> </td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tr class=\"x-panel-table-div-title\">\r\n"); out.write("\t\t<td class=\"x-panel-table-div-title\" colspan=4>\r\n"); out.write( "\t\t\t<div class=\"toggle-icon-expanded\" title=\"折叠\" toggleClass=\"tr-project-business-condition\"></div>\r\n"); out.write("\t\t\t项目商务条件\r\n"); out.write("\t\t</td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tr>\r\n"); out.write("\t\t<td colspan=4></td>\r\n"); out.write("\t</tr>\r\n"); out.write("\t<tr class=\"tr-project-business-condition\">\r\n"); out.write("\t\t<td colspan=4 class=\"td-tabs-container\" style=\"text-indent: 0px;\">\r\n"); out.write("\t\t<!-- 标签栏 -->\r\n"); out.write("\t\t<div id='id_project_info_tabs_content' style=\"\">\r\n"); out.write("\t\t<div title=\"租赁物明细\">\r\n"); out.write("\t\t<div id=\"id_table_leasing_proj_equip_container\"\r\n"); out.write("\t\t\tstyle=\"overflow: hidden;\"></div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t\t<div title=\"拟商务条件\">\r\n"); out.write("\t\t<div id=\"id_table_leasing_proj_condition_container\"\r\n"); out.write("\t\t\tstyle=\"overflow: hidden;\">\r\n"); out.write("\t\t\t"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../../rent_reckon/rent_reckon/main.jsp", out, false); out.write("</div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t\t<div title=\"担保单位信息\">\r\n"); out.write("\t\t<div id=\"id_table_leasing_proj_guarantee_method_container\"\r\n"); out.write("\t\t\tstyle=\"overflow: hidden;\"></div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t\t<div title=\"租金发票类型\">\r\n"); out.write("\t\t<div id=\"id_table_leasing_proj_rent_type_container\"\r\n"); out.write("\t\t\tstyle=\"height: 350px;\">"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../proj_approval/proj_invoice.jsp", out, false); out.write("\r\n"); out.write("\t\t</div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t\t<div title=\"客户信用评分表\">\r\n"); out.write( "\t\t\t<div id=\"id_table_leasing_proj_cust_creidt_container\" style=\"overflow: hidden;\">\r\n"); out.write("\t\t\t"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "proj_cust_credit_list.jsp", out, false); out.write("\r\n"); out.write("\t\t\t</div>\r\n"); out.write("\t\t</div>\r\n"); out.write("\t\t"); if (_jspx_meth_c_005fif_005f1(_jspx_page_context)) return; out.write("\r\n"); out.write("\t</div>\r\n"); out.write("\t\t</td>\r\n"); out.write("\t</tr>\r\n"); out.write("</table>\r\n"); out.write("</div>\r\n"); out.write("<!--避免在tabs中的js重复执行-->\r\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../proj_approval/proj_equip_detail.jsp", out, false); out.write('\r'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "../proj_approval/proj_guarantee_method.jsp", out, false); out.write('\r'); out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "proj_cust_credit.jsp", out, false); out.write("\r\n"); out.write("<script>\r\n"); out.write("function createTemFileCredit6()\r\n"); out.write("{\r\n"); out.write("\tvar currentTablelist = getTracywindyObject('table_projcreditreport');\r\n"); out.write("\tvar tabledata11=currentTablelist.getRowsData();\r\n"); out.write("\tfor(var i=0;i<tabledata11.length;i++){\r\n"); out.write("\t\t\tif(tabledata11[i].filename=='法人客户信审报告(6-10台).xls')\r\n"); out.write("\t\t\t\t{\r\n"); out.write("\t\t\t\t alert(tabledata11[i].filename+\"已经生成\");\r\n"); out.write("\t\t\t\t return false;\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t}\r\n"); out.write(" //alert(jQuery(\"#cust_name\").val());\r\n"); out.write(" //平均租金\r\n"); out.write( " var currentTable2 = getTracywindyObject('table_id_table_leasing_rent_plan_container');\r\n"); out.write("\t\tvar tabledata2=currentTable2.getRowsData();\r\n"); out.write("\t\tvar sumMoney=null;\r\n"); out.write("\t\tfor(var j=0;j<tabledata2.length;j++)\r\n"); out.write("\t\t{\r\n"); out.write(" sumMoney=sumMoney+parseFloat(tabledata2[j].rent);\r\n"); out.write("\t \t}\r\n"); out.write("\t \tsumMoney=sumMoney/parseInt(tabledata2.length);\r\n"); out.write("\t \t//alert(sumMoney);\r\n"); out.write( "\t \t//alert(\"按\"+jQuery(\"#firstPaymentRatio\").val()+\"%首付\"+jQuery(\"#cautionMoney\").val()+\"%保证金,\"+jQuery(\"#yearRate\").val()+\"%年利率,\"+jQuery(\"#leaseTerm\").val()+\"个月租赁期,融资额为\"+jQuery(\"#leaseMoney\").val()+\"元,每月还款租金 \"+sumMoney);\r\n"); out.write("\t \t \r\n"); out.write( "\t \tvar data=\"按\"+jQuery(\"#firstPaymentRatio\").val()+\"%首付,\"+jQuery(\"#cautionMoneyRatio\").val()+\"%保证金,\"+jQuery(\"#yearRate\").val()+\"%年利率,\"+jQuery(\"#leaseTerm\").val()+\"个月租赁期,融资额为\"+jQuery(\"#leaseMoney\").val()+\"元,每月还款租金 \"+sumMoney+\"元\";\r\n"); out.write(" //担保人\r\n"); out.write( "\tvar currentTable1 = getTracywindyObject('table_id_table_leasing_proj_guarantee_method_container');\r\n"); out.write("\t\tvar tabledata=currentTable1.getRowsData();\r\n"); out.write("\t\tvar assurorname=\"('\";\r\n"); out.write("\t\tfor(var i=0;i<tabledata.length;i++){\r\n"); out.write("\t\tassurorname+=tabledata[i].assurorname;\r\n"); out.write("\t\t if(i<tabledata.length-1)\r\n"); out.write("\t\t {\r\n"); out.write("\t\t\tassurorname+=\"','\";\r\n"); out.write("\t\t }\r\n"); out.write("\t\t}\r\n"); out.write("\t\tassurorname+=\"')\";\r\n"); out.write("\t\t//alert(assurorname);\r\n"); out.write("\t\tvar test=getTracywindyObject(\"id_combo_creatordept\").getRawValue();\r\n"); out.write("\t\tvar filename='table_projcreditreport';\r\n"); out.write("\tvar url=\"/leasing/template/createFileByTemplateClass.action\";\r\n"); out.write( " attachmentDown({uploadid:filename,url:url,title:\"\",flowunid:flowUnid,twoClassify:'wordtempletypetwo.33',returnType:'listtocurpaget',modelname:'creditreport',assurorname:assurorname,lesseesname:jQuery(\"#cust_name\").val(),projectid:jQuery(\"#project_id\").val(),\"framework_condition.money\":sumMoney,\"condition.array\":data,dealername:test});\r\n"); out.write("}\r\n"); out.write("function createTemFileCredit()\r\n"); out.write("{\r\n"); out.write("\tvar currentTablelist = getTracywindyObject('table_projcreditreport');\r\n"); out.write("\tvar tabledata11=currentTablelist.getRowsData();\r\n"); out.write("\tfor(var i=0;i<tabledata11.length;i++){\r\n"); out.write("\t\t\tif(tabledata11[i].filename=='法人客户信审报告(10台以上).xls')\r\n"); out.write("\t\t\t\t{\r\n"); out.write("\t\t\t\t alert(tabledata11[i].filename+\"已经生成\");\r\n"); out.write("\t\t\t\t return false;\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t}\r\n"); out.write(" //平均租金\r\n"); out.write( " var currentTable2 = getTracywindyObject('table_id_table_leasing_rent_plan_container');\r\n"); out.write("\t\tvar tabledata2=currentTable2.getRowsData();\r\n"); out.write("\t\tvar sumMoney=null;\r\n"); out.write("\t\tfor(var j=0;j<tabledata2.length;j++)\r\n"); out.write("\t\t{\r\n"); out.write(" sumMoney=sumMoney+parseFloat(tabledata2[j].rent);\r\n"); out.write("\t \t}\r\n"); out.write("\t \tsumMoney=sumMoney/parseInt(tabledata2.length);\r\n"); out.write("\t \t//alert(sumMoney);\r\n"); out.write("\t \t\r\n"); out.write(" //担保人\r\n"); out.write( "\tvar currentTable1 = getTracywindyObject('table_id_table_leasing_proj_guarantee_method_container');\r\n"); out.write("\t\tvar tabledata=currentTable1.getRowsData();\r\n"); out.write("\t\tvar assurorname=\"('\";\r\n"); out.write("\t\tfor(var i=0;i<tabledata.length;i++){\r\n"); out.write("\t\tassurorname+=tabledata[i].assurorname;\r\n"); out.write("\t\t if(i<tabledata.length-1)\r\n"); out.write("\t {\r\n"); out.write("\t\tassurorname+=\"','\";\r\n"); out.write("\t }\r\n"); out.write("\t}\r\n"); out.write("\tassurorname+=\"')\";\r\n"); out.write("\t\tvar test=getTracywindyObject(\"id_combo_creatordept\").getRawValue();\r\n"); out.write("\t\t//alert(test+\"2222\");\r\n"); out.write("\t\t\r\n"); out.write( "\t\t//alert(\"按\"+jQuery(\"#firstPaymentRatio\").val()+\"%首付\"+jQuery(\"#cautionMoney\").val()+\"%保证金,\"+jQuery(\"#yearRate\").val()+\"%年利率,\"+jQuery(\"#leaseTerm\").val()+\"个月租赁期,融资额为\"+jQuery(\"#leaseMoney\").val()+\"元,每月还款租金 \"+sumMoney);\r\n"); out.write( "\t \tvar data=\"按\"+jQuery(\"#firstPaymentRatio\").val()+\"%首付,\"+jQuery(\"#cautionMoneyRatio\").val()+\"%保证金,\"+jQuery(\"#yearRate\").val()+\"%年利率,\"+jQuery(\"#leaseTerm\").val()+\"个月租赁期,融资额为\"+jQuery(\"#leaseMoney\").val()+\"元,每月还款租金 \"+sumMoney+\"元\";\r\n"); out.write("\tvar url=\"/leasing/template/createFileByTemplateClass.action\";\r\n"); out.write("\tvar filename='table_projcreditreport';\r\n"); out.write( " attachmentDown({uploadid:filename,url:url,title:\"\",flowunid:flowUnid,twoClassify:'wordtempletypetwo.34',returnType:'listtocurpaget',modelname:'creditreport',assurorname:assurorname,lesseesname:jQuery(\"#cust_name\").val(),projectid:jQuery(\"#project_id\").val(),\"framework_condition.money\":sumMoney,\"condition.array\":data,dealername:test});\r\n"); out.write("}\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("//页面初始化\r\n"); out.write("var isSubTable=true;\r\n"); out.write("//法人附件上传权限\r\n"); out.write("var isAttachment=false;\r\n"); out.write("//隐藏域在提交或保存前的赋值\r\n"); out.write("function fillHiddenVal() {\r\n"); out.write("\tif(\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${requestScope['proj_info.cust_type']}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\"=='法人')\r\n"); out.write("\t{\r\n"); out.write("\t var currentTable3 = getTracywindyObject('table_projcreditreport');\r\n"); out.write("\t jQuery('#id_json_word_list_str').val(\r\n"); out.write("\t\t\tJsonUtil.encode(currentTable3.getRowsJsonData()));\r\n"); out.write("\t}\r\n"); out.write("}\r\n"); out.write("var tooldata=[{\r\n"); out.write(" \t html : '<font color=\"blue\">生成法人客户信审报告(6-10台) </font>',\r\n"); out.write("\t\thandler : function(table) {\r\n"); out.write("\t createTemFileCredit6();\r\n"); out.write("\t\t\t\t//return false;\r\n"); out.write("\t\t},\r\n"); out.write("\t\ticonCls : 'icon-update'\r\n"); out.write("},\r\n"); out.write("{\r\n"); out.write("\t html : '<font color=\"blue\">生成法人客户信审报告 (10台以上)</font>',\r\n"); out.write("\t\thandler : function(table) {\r\n"); out.write("\t\t createTemFileCredit();\r\n"); out.write("\t\t\t\t//return false;\r\n"); out.write("\t\t},\r\n"); out.write("\t\ticonCls : 'icon-update'\r\n"); out.write("}\r\n"); out.write("];\r\n"); out.write("\r\n"); out.write("/* var tooldata=[{\r\n"); out.write(" \t html : '<font color=\"blue\">生成法人客户现场考察报告 </font>',\r\n"); out.write("\t\thandler : function(table) {\r\n"); out.write("\t\t\t\tcreateTemFile();\r\n"); out.write("\t\t\t\t//return false;\r\n"); out.write("\t\t},\r\n"); out.write("\t\ticonCls : 'icon-update'\r\n"); out.write("}]; */\r\n"); out.write("\t//初始化调用\r\n"); out.write("\tjQuery(function() {\r\n"); out.write("\t\t//########公共JS事件##########\r\n"); out.write("\t\tjQuery(\".toggle-icon-expanded\").click(toggleLeasingOperation);\r\n"); out.write( "\t\t$(\"#id_project_info_tabs_content\").css(\"width\", (formWidth) + \"px\");\r\n"); out.write("\t\t$(\"#id_project_info_tabs_content\").tabs();\r\n"); out.write("\t\tisSubTable = false;\r\n"); out.write("\t\tvar d = $(\"#id_project_info_tabs_content\");\r\n"); out.write("\t\t$(\"#id_project_fund_rent_plan_tabs_content\").css(\"width\",\r\n"); out.write("\t\t\t\t(formWidth) + \"px\");\r\n"); out.write("\t\t$(\"#id_project_fund_rent_plan_tabs_content\").tabs();\r\n"); out.write("\t\t//jQuery(\".fillTableContainer\").css(\"width\",formWidth+\"px\");\r\n"); out.write("\t});\r\n"); out.write("</script>\r\n"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("<!DOCTYPE html>\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\r\n"); out.write("<title>検定管理システム</title>\r\n"); out.write("<link href=\""); out.print(request.getContextPath()); out.write("/view/css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n"); out.write("<script src=\""); out.print(request.getContextPath()); out.write("/view/js/jquery-1.11.3.min.js\"></script>\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("$(function(){\r\n"); out.write(" $('a,a img,button').css({\r\n"); out.write(" opacity: 1.0,\r\n"); out.write(" filter: \"alpha(opacity=100)\"\r\n"); out.write(" }).hover(function(){\r\n"); out.write(" $(this).fadeTo(200,0.6);\r\n"); out.write(" },function(){\r\n"); out.write(" $(this).fadeTo(200,1.0);\r\n"); out.write(" })\r\n"); out.write("});\r\n"); out.write("</script>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("\r\n"); out.write("\r\n"); HttpSession examationsearchsession = request.getSession(false); ExamationInfoDto examationinfo = (ExamationInfoDto) examationsearchsession.getAttribute("examationinfo"); int i = Integer.parseInt(request.getParameter("forid")); out.write("\r\n"); out.write("\r\n"); out.write( "<header><h1><a href=\"/testmanagement/examationlist\">検定管理システム</a></h1></header>\r\n"); out.write("\r\n"); out.write("<div class=\"main\">\r\n"); out.write("\r\n"); out.write("\t<div class=\"info\">\r\n"); out.write("\t<h2>受験検定追加</h2>\r\n"); out.write("\t<p>受験検定の合否を選択してください。</p>\r\n"); out.write("\r\n"); out.write("\t<table class=\"list\">\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td class=\"testadd\">実施日</td><td>"); out.print(examationinfo.getTestDay().get(i)); out.write("</td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td class=\"testadd\">主催</td><td>"); out.print(examationinfo.getSponsor().get(i)); out.write("</td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td class=\"testadd\">検定名</td><td>"); out.print(examationinfo.getTestName().get(i)); out.write("</td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t</table>\r\n"); out.write("\r\n"); out.write("\t<form action=\""); out.print(request.getContextPath()); out.write("/view/examationaddchack.jsp\">\r\n"); out.write("\t\t<select name=\"gouhi\" class=\"drop\">\r\n"); out.write("\t\t<optgroup label=\"合否\">\r\n"); out.write("\t\t<option value=\"1\">合格</option>\r\n"); out.write("\t\t<option value=\"0\">不合格</option>\r\n"); out.write("\t\t</optgroup>\r\n"); out.write("\t\t</select>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\t<table class=\"button\">\r\n"); out.write("\t\t<tr>\r\n"); out.write("\t\t\t<td class=\"button\">\r\n"); out.write("\t\t\t\t<button class=\"button1\" onClick=\"history.back()\">戻る</button>\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t\t<td class=\"button\">\r\n"); out.write("\r\n"); out.write("\t\t\t\t<button class=\"button1\" type=\"submit\" name=\"i\" value=\""); out.print(i); out.write("\">確認</button>\r\n"); out.write("\r\n"); out.write("\t\t\t</td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t</table>\r\n"); out.write("\t</form>\r\n"); out.write("\t</div>\r\n"); out.write("\r\n"); out.write("\t<div class=\"side\">\r\n"); out.write("\t<form action=\""); out.print(request.getContextPath()); out.write("/logout\"><button class=\"menu\" type=\"submit\">ログアウト</button></form>\r\n"); out.write("\r\n"); out.write("\t<p><hr></p>\r\n"); out.write("\r\n"); out.write("\t<form action=\""); out.print(request.getContextPath()); out.write( "/examationlist\"><button class=\"menu\" type=\"submit\">受験検定一覧</button></form>\r\n"); out.write("\t<form action=\""); out.print(request.getContextPath()); out.write( "/view/examationadd1.jsp\" method=\"POST\"><button class=\"menu\" type=\"submit\">受験検定の追加</button></form>\r\n"); out.write("\t</div>\r\n"); out.write("\r\n"); out.write("</div>\r\n"); out.write("\r\n"); out.write("<footer>© 2016 WhiteCo.</footer>\r\n"); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final java.lang.String _jspx_method = request.getMethod(); if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) { response.sendError( HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD"); return; } final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write("\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("\t<link rel=\"stylesheet\" type=\"text/css\" href=\"css/articleForm.css\">\n"); out.write("\t<script src=\"http://code.jquery.com/jquery-latest.min.js\"></script>\n"); out.write("\t<script type=\"text/javascript\" src=\"js/test.js\"></script>\n"); out.write("\n"); out.write("</head>\n"); out.write("<body>\n"); out.write("\t<div id = \"article_form_container\">\n"); out.write( "\t\t<form name=\"articleForm\" action=\"/write\" method=\"post\" enctype=\"multipart/form-data\">\n"); out.write("\t\t\t<div id =\"article_form\">\n"); out.write( "\t\t\t\t<div id = \"article_title\">제목 : <input type=\"text\" name=\"title\" placeholder=\"제목을 입력하세요.\"/></div>\n"); out.write( "\t\t\t\t<div id = \"address\">주소 : <input type=\"text\" name=\"address\" placeholder=\"주소를 입력하세요.\"/></div>\n"); out.write("\t\t\t\t<div id = \"recruit_count\">\n"); out.write("\t\t\t\t\t<div id=\"recruit_count_text\">모집 인원 : </div>\n"); out.write("\t\t\t\t\t<table id=\"select_recruit_count\">\n"); out.write("\t\t\t\t\t <tr>\n"); out.write( "\t\t\t\t\t \t<td style=\"padding-left:0px; border: 1px solid #bcbcbc;\"><button id =\"down_button\" name=\"title\" style=\"height:24px;width:23px;text-align:center;border:none;border-right:0px; border-top:0px; boder-left:0px; boder-bottom:0px;background-color:white;color:#CFCFCF\">-</button></td>\n"); out.write( "\t\t\t\t\t\t\t<td style=\"padding-left:0px; border: 1px solid #bcbcbc;\"><div id=\"recruitCount\"name=\"recruitCount\" type=\"text\" value=\"1\" style=\"width:23px;text-align:center;border:none;border-right:0px; border-top:0px; boder-left:0px; boder-bottom:0px\"/>1</td>\n"); out.write( "\t\t\t\t\t\t\t<td style=\"padding-left:0px; border: 1px solid #bcbcbc;\"><button id = \"up_button\" style=\"width:23px;text-align:center;border:none;border-right:0px; border-top:0px; boder-left:0px; boder-bottom:0px;background-color:white;color:#CFCFCF;\">+</button></td>\n"); out.write("\t\t\t\t\t\t</tr>\n"); out.write("\t\t\t\t\t</table>\n"); out.write("\t\t\t\t</div>\n"); out.write("\t\t\t\t<div id =\"visible_btn\" onclick=\"visible()\"></div>\n"); out.write("\t\t\t\t<div id =\"img_container\" style=\"display:none;\">\n"); out.write("\t\t\t\t\n"); out.write("\n"); out.write("\t\t\t\t<!-- img 시작 -->\n"); out.write("\t\t\t\t\t<div id = \"before-img\">\n"); out.write( "\t\t\t\t\t\t사진 등록<br /><input type=\"file\" name=\"file\" style=\"text-align:center; width:150px;\"/>\n"); out.write( "\t\t\t\t\t\t<input type=\"hidden\" name=\"localLocation\" value=\"/userImg/beforeImg\">\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\n"); out.write("\t\t\t\t\t<div id=\"area\" style=\"width:600px\";></div>\n"); out.write("\n"); out.write("\t\t\t\t\t<div id ='square-list' style=\"display:none\">\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"0\" src=\"img/dragndrop/0.png\" height=\"60\" width=\"60\">\n"); out.write("\t\t\t\t\t\t\t</div> \t\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"1\" src=\"img/dragndrop/1.png\" height=\"60\" width=\"60\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"2\" src=\"img/dragndrop/2.png\" height=\"60\" width=\"60\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"3\" src=\"img/dragndrop/3.png\" height=\"60\" width=\"60\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"4\" src=\"img/dragndrop/4.png\" height=\"60\" width=\"60\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"5\" src=\"img/dragndrop/5.png\" height=\"80\" width=\"80\" style=\"margin-top:-12px;margin-left:-7px;\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"6\" src=\"img/dragndrop/6.png\" height=\"60\" width=\"60\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class=\"row\">\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper2'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"7\" src=\"img/dragndrop/7.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"8\" src=\"img/dragndrop/8.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"9\" src=\"img/dragndrop/9.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"10\" src=\"img/dragndrop/10.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"11\" src=\"img/dragndrop/11.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"12\" src=\"img/dragndrop/12.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"13\" src=\"img/dragndrop/13.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t\t<img class=\"14\" src=\"img/dragndrop/14.png\" height=\"120\" width=\"80\">\n"); out.write("\t\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t<div class=\"row\">\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t<!-- <div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t<img class=\"1\" src=\"img/dragndrop/1.png\" height=\"70\" width=\"90\" style=\"margin-top:30px;\">\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t<img class=\"2\" src=\"img/dragndrop/2.png\" height=\"120\" width=\"130\" style=\"margin-left:3px;margin-top:-8px;\">\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t<div class = 'square-wrapper'>\n"); out.write("\t\t\t\t\t\t<div class=\"square\">\n"); out.write( "\t\t\t\t\t\t\t<img class=\"3\" src=\"img/dragndrop/3.png\" height=\"140\" width=\"180\" style=\"margin-top:-10px;padding-left:30px;\">\n"); out.write("\t\t\t\t\t\t</div>\n"); out.write("\t\t\t\t\t</div> -->\n"); out.write("\t\t\t\t<!-- 이미지 끝 -->\n"); out.write("\t\t\t\t</div>\n"); out.write("\t\t\t\t<!-- <input type=\"file\" name=\"beforeImg\" />\n"); out.write("\t\t\t\t<input type=\"file\" name=\"afterImg\" /> -->\n"); out.write( "\t\t\t\t<div id = \"article_content\"><textarea name=\"content\" placeholder=\"내용을 입력하세요.\" /></textarea></div>\n"); out.write("\t\t\t\t<!-- <div id = \"recruit_count\">\n"); out.write("\t\t\t\t\t<select>\n"); out.write("\t\t\t\t\t \t<option value=\"1\">1</option>\n"); out.write("\t\t\t\t\t \t<option value=\"2\">2</option>\n"); out.write("\t\t\t\t\t \t<option value=\"3\">3</option>\n"); out.write("\t\t\t\t\t \t<option value=\"4\">4</option>\n"); out.write("\t\t\t\t\t \t<option value=\"5\">5</option>\n"); out.write("\t\t\t\t\t \t<option value=\"6\">6</option>\n"); out.write("\t\t\t\t\t \t<option value=\"7\">7</option>\n"); out.write("\t\t\t\t\t \t<option value=\"8\">8</option>\n"); out.write("\t\t\t\t\t \t<option value=\"9\">9</option>\n"); out.write("\t\t\t\t\t \t<option value=\"10\">10</option>\n"); out.write("\t\t\t\t\t \t<option value=\"11\">11</option>\n"); out.write("\t\t\t\t\t \t<option value=\"12\">12</option>\n"); out.write("\t\t\t\t\t \t<option value=\"13\">13</option>\n"); out.write("\t\t\t\t\t \t<option value=\"14\">14</option>\n"); out.write("\t\t\t\t\t \t<option value=\"15\">15</option>\n"); out.write("\t\t\t\t\t \t<option value=\"16\">16</option>\n"); out.write("\t\t\t\t\t \t<option value=\"17\">17</option>\n"); out.write("\t\t\t\t\t \t<option value=\"18\">18</option>\n"); out.write("\t\t\t\t\t \t<option value=\"19\">19</option>\n"); out.write("\t\t\t\t\t \t<option value=\"20\">20</option>\n"); out.write("\t\t\t\t\t \t<option value=\"21\">21</option>\n"); out.write("\t\t\t\t\t \t<option value=\"22\">22</option>\n"); out.write("\t\t\t\t\t \t<option value=\"23\">23</option>\n"); out.write("\t\t\t\t\t \t<option value=\"24\">24</option>\n"); out.write("\t\t\t\t\t \t<option value=\"25\">25</option>\n"); out.write("\t\t\t\t\t \t<option value=\"26\">26</option>\n"); out.write("\t\t\t\t\t \t<option value=\"27\">27</option>\n"); out.write("\t\t\t\t\t \t<option value=\"28\">28</option>\n"); out.write("\t\t\t\t\t \t<option value=\"29\">29</option>\n"); out.write("\t\t\t\t\t \t<option value=\"30\">30</option>\n"); out.write("\t\t\t\t\t</select> -->\n"); out.write("\t\t\t\t<!-- <input type=\"hidden\" name=\"userId\" value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${article.userId}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null)); out.write("\" /> -->\n"); out.write("\t\t\t\t<!-- <input type=\"hidden\" name=\"id\" value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${article.id}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null)); out.write("\" /> -->\n"); out.write( "\t\t\t\t<div id = \"submit_button\" class=\"row\"><input type=\"submit\" name=\"submit\" value=\"확인\" /></div>\n"); out.write("\t\t\t</div>\n"); out.write("\t\t</form>\n"); out.write("\t</div>\t\n"); out.write("\t\t\n"); out.write("\t\n"); out.write("\t<!-- holder에 upload된 file 바로 보여주기 시작 -->\n"); out.write("\t<script>\n"); out.write(" \tvar upload = document.getElementsByTagName('input')[2];\n"); out.write(" var holder = document.getElementById('area');\n"); out.write(" var suqareList = document.getElementById('square-list');\n"); out.write(" \n"); out.write(" \tupload.onchange = function (e) {\n"); out.write(" \te.preventDefault();\n"); out.write("\n"); out.write(" \tvar file = upload.files[0];\n"); out.write(" var reader = new FileReader();\n"); out.write(" \treader.onload = function (event) {\n"); out.write("\t \tvar img = new Image();\n"); out.write("\t \timg.src = event.target.result;\n"); out.write("\t \t\timg.style.position = \"relative\";\n"); out.write("\t \timg.width = 600;\n"); out.write("\t \timg.height = 400;\n"); out.write("\n"); out.write("\t \tholder.innerHTML = '';\n"); out.write("\t \tholder.width = 600;\n"); out.write("\t \tholder.appendChild(img);\n"); out.write(" \t};\n"); out.write(" \treader.readAsDataURL(file);\n"); out.write(" \treturn false;\n"); out.write(" \t};\n"); out.write(" \tsuqareList.style.display = \"block\";\n"); out.write(" </script>\n"); out.write(" <!-- holder에 upload된 file 바로 보여주기 끝 -->\n"); out.write("\n"); out.write("</body>\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html;charset=GBK"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n"); out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n"); out.write("<meta http-equiv=\"pragma\" content=\"no-cache\" />\r\n"); out.write("<meta http-equiv=\"cache-control\" content=\"no-cache\" />\r\n"); out.write("<meta http-equiv=\"expires\" content=\"0\" /> \r\n"); out.write(" \r\n"); out.write("<title>超市管理系统</title>\r\n"); out.write("<script type=text/javascript>\r\n"); out.write(" function check(form){\r\n"); out.write("\t if(form.supplierid.value==\"\"){\r\n"); out.write("\t\talert(\"编号不能为空\"); \r\n"); out.write("\t\treturn false;\r\n"); out.write("\t }\r\n"); out.write("\t if(form.suppliername.value==\"\"){\r\n"); out.write("\t\talert(\"供应商名称不能为空\"); \r\n"); out.write("\t\treturn false;\r\n"); out.write("\t }\r\n"); out.write("\t if(form.supplierdescription.value==\"\"){\r\n"); out.write("\t\talert(\"供应商描述不能为空\"); \r\n"); out.write("\t\treturn false;\r\n"); out.write("\t }\r\n"); out.write("\t if(form.linkedman.value==\"\"){\r\n"); out.write("\t\talert(\"联系人不能为空\"); \r\n"); out.write("\t\treturn false;\r\n"); out.write("\t }\r\n"); out.write("\t if(form.telphone.value==\"\"){\r\n"); out.write("\t\talert(\"电话不能为空\"); \r\n"); out.write("\t\treturn false;\r\n"); out.write("\t }\r\n"); out.write("\t if(form.address.value==\"\"){\r\n"); out.write("\t\talert(\"地址不能为空\"); \r\n"); out.write("\t\treturn false;\r\n"); out.write("\t }\r\n"); out.write("\t if(!window.confirm(\"确定更改?\")){\r\n"); out.write("\t\t return false;\r\n"); out.write("\t }\r\n"); out.write("\t return true;\r\n"); out.write(" }\r\n"); out.write("</script>\r\n"); out.write("\r\n"); out.write("</head>\r\n"); if (session.getAttribute("username") == null) { out.println("<script type=\"text/javascript\">"); out.println("alert(\"您还没有登陆!请登陆!\");"); out.println("open(\"index.jsp\",\"_parent\");"); out.println("</script>"); return; } out.write('\r'); out.write('\n'); request.setCharacterEncoding("gbk"); long supplierid = Long.valueOf(request.getParameter("supplierid")); String suppliername = request.getParameter("suppliername"); String supplierdescription = request.getParameter("supplierdescription"); String linkedman = request.getParameter("linkedman"); String telphone = request.getParameter("telphone"); String address = request.getParameter("address"); pageContext.setAttribute("supplierid", supplierid); pageContext.setAttribute("suppliername", suppliername); pageContext.setAttribute("supplierdescription", supplierdescription); pageContext.setAttribute("linkedman", linkedman); pageContext.setAttribute("telphone", telphone); pageContext.setAttribute("address", address); if (request.getParameter("change") != null) { Supplier supplier = new Supplier(); supplier.setSupplierid(supplierid); supplier.setSuppliername(suppliername); supplier.setSupplierdescription(supplierdescription); supplier.setLinkedman(linkedman); supplier.setTelphone(telphone); supplier.setAddress(address); boolean consequence = new SupplierOperation().supplierinfochange(supplier); if (consequence) { out.println("<script type=\"text/javascript\">"); out.println("alert(\"更新成功!\");"); out.println("open(\"suppliermanage.jsp\",\"_self\");"); out.println("</script>"); return; } else { out.println("<script type=\"text/javascript\">"); out.println("alert(\"更新失败!\");"); out.println("open(\"suppliermanage.jsp\",\"_self\");"); out.println("</script>"); return; } } out.write("\r\n"); out.write("<body>\r\n"); out.write( " <form action=supplierinfochange.jsp method=post onSubmit=\"return check(this);\">\r\n"); out.write(" <input type=hidden name=change />\r\n"); out.write(" <div style=\"border:10px solid #4169E1;width:80%;\" >\r\n"); out.write(" <table>\r\n"); out.write(" <tr><td><pre> </pre></td><td><input name=supplierid type=\"hidden\" value="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${supplierid}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write(" /></td></tr>\r\n"); out.write(" <tr><td>供应商名称:</td><td><input name=suppliername type=\"text\" value="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${suppliername}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write(" /></td></tr>\r\n"); out.write(" \r\n"); out.write("<tr><td>供应商描述:</td><td><textarea name=supplierdescription>"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${supplierdescription}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</textarea></td></tr>\r\n"); out.write(" <tr><td>联系人:</td><td><input name=linkedman type=\"text\" value="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${linkedman}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write(" /></td></tr>\r\n"); out.write(" <tr><td>电话:</td><td><input name=telphone type=\"text\" value="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${telphone}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write(" /></td></tr>\r\n"); out.write(" <tr><td>地址:</td><td><textarea name=address >"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${address}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</textarea></td></tr>\r\n"); out.write(" </table>\r\n"); out.write(" </div>\r\n"); out.write( " <input onclick=\"window.open('suppliermanage.jsp','_self')\" type=\"button\" value=返回 /><input type=\"submit\" value=修改数据 /><input onclick=\"window.open('supplierdelete.jsp?supplierid="); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${supplierid}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("','_self')\" type=button value=删除 />\r\n"); out.write("</form>\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("jQuery(function(){\r\n"); out.write("\tvar showTools = true;\r\n"); out.write("\tif('"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${param.isView}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("' == 'true'||isViewHistoryTask==true){showTools = false;};\r\n"); out.write("\tseajs.use([ \"js/apcomponent/aptable/aptable.js\" ], function(ApTable) {\r\n"); out.write("\t\tnew ApTable({\r\n"); out.write("\t\t\tid: \"contract_actual_lessee\",\r\n"); out.write("\t\t\trenderTo: \"id_table_contract_actual_lessee\",\r\n"); out.write("\t\t\twidth: globalClientWidth - 30,\r\n"); out.write("\t\t\theight: 360,\r\n"); out.write("\t\t\tlazyLoad: false,\r\n"); out.write("\t\t\ttitle: \"\",\r\n"); out.write("\t\t\tisClickLoad:false,\r\n"); out.write("\t\t\tremoteOper : false,\r\n"); out.write("\t\t\tshowPager: false,\r\n"); out.write("\t\t\tmultiSelect: true,\r\n"); out.write("\t\t\ttitle:'',\r\n"); out.write("\t\t\tshowToolbar: showTools,\r\n"); out.write("\t\t\ttools: ['add', '-', 'edit', '-','remove'],\r\n"); out.write("\t\t\tdata: JsonUtil.decode('"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${empty json_contract_actual_lessee_str ? \"[]\" : json_contract_actual_lessee_str }", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("'),\r\n"); out.write("\t\t\tcolumns: [\r\n"); out.write("\t\t\t\t{type:'indexcolumn'},\r\n"); out.write("\t\t\t\t{type:'checkcolumn'},\r\n"); out.write("\t\t\t\t{field:'id',header:'id',visible: false},\r\n"); out.write("\t\t\t\t{field: 'actuallesseename', header: '实际承租人',\r\n"); out.write("\t\t\t\t\tformEditorConfig:{\r\n"); out.write("\t\t\t\t\t\tfieldVisible: false\r\n"); out.write("\t\t\t\t\t\t}},\r\n"); out.write("\t\t\t\t{field: 'actuallessee', header: '实际承租人', visible:false,\r\n"); out.write("\t\t\t\t\tformEditorConfig:{\r\n"); out.write("\t\t\t\t\t\tcolspan: 3,\r\n"); out.write("\t\t\t\t\t\twidth: '100%',\r\n"); out.write("\t\t\t\t\t\ttype: 'queryinput',\r\n"); out.write("\t\t\t\t\t\trequired: true,\r\n"); out.write("\t\t\t\t\t\ttextField: 'name',\r\n"); out.write("\t\t\t\t\t\tvalueField: 'value',\r\n"); out.write("\t\t\t\t\t\tallowInput: false,\r\n"); out.write("\t\t\t\t\t\tfieldVisible: true,\r\n"); out.write("\t\t\t\t\t\tparams: {cust_type: 'cust_type.vndr',\r\n"); out.write( "\t\t\t\t\t\txmlFileName:'/eleasing/workflow/contract/contract_approval/contract_custinfo.xml'},\r\n"); out.write("\t\t\t\t\t\tonSelect:function($me,inputObj, rowdata){\r\n"); out.write("\t\t\t\t\t\t\tmini.getbyName(\"actuallesseename\").setValue(rowdata.name);\r\n"); out.write("\t\t\t\t\t\t}\r\n"); out.write("\t\t\t\t\t}\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t\t\t]\r\n"); out.write("\t\t});\r\n"); out.write("\t});\r\n"); out.write("});\r\n"); out.write("</script>\r\n"); out.write("<div id=\"id_table_contract_actual_lessee\"></div>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final java.lang.String _jspx_method = request.getMethod(); if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) { response.sendError( HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD"); return; } final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html;charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write("\n"); out.write("\n"); out.write("<!DOCTYPE html>\n"); out.write("<html>\n"); out.write(" <head>\n"); out.write( " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write(" <title>File upload</title>\n"); out.write(" </head>\n"); out.write(" <body>\n"); out.write(" <center>\n"); out.write(" <h3>File Upload</h3>\n"); out.write(" <form>\n"); out.write(" <input type = \"file\" name = \"file\" size = \"50\"/>\n"); out.write(" <br/>\n"); out.write(" <input type = \"button\" value = \"submit\"/>\n"); out.write(" </form>\n"); out.write(" \n"); out.write(" </center>\n"); out.write(" </body>\n"); out.write("</html>\n"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\n"); out.write(" \n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n"); request.setCharacterEncoding("euc-kr"); out.write('\n'); guestModel.GuestDto guest = null; guest = (guestModel.GuestDto) _jspx_page_context.getAttribute("guest", javax.servlet.jsp.PageContext.PAGE_SCOPE); if (guest == null) { guest = new guestModel.GuestDto(); _jspx_page_context.setAttribute("guest", guest, javax.servlet.jsp.PageContext.PAGE_SCOPE); } out.write('\n'); org.apache.jasper.runtime.JspRuntimeLibrary.introspect( _jspx_page_context.findAttribute("guest"), request); out.write('\n'); int num = Integer.parseInt(request.getParameter("num")); out.print("num" + num); int check = GuestDao.getInstance().delete(guest.getNum()); out.print("check:" + check); out.write("\n"); out.write("\n"); out.write("<html>\n"); out.write("<head>\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n"); out.write("<title>Insert title here</title>\n"); out.write("</head>\n"); out.write("<body>\n"); out.write("\t"); if (check > 0) { out.write("\n"); out.write("\t\t<script type=\"text/javascript\">\n"); out.write("\t\t\talert(\"삭제되었습니다.\");\n"); out.write("\t\t\tlocation.href=\"write.jsp\";\n"); out.write("\t\t</script>\n"); out.write("\t\n"); out.write("\t"); } else { out.write("\n"); out.write("\t\t<script type=\"text/javascript\">\n"); out.write("\t\t\talert(\"삭제 실패.\");\n"); out.write("\t\t\tlocation.href=\"write.jsp\";\n"); out.write("\t\t</script>\n"); out.write("\t"); } out.write("\n"); out.write("\t\n"); out.write("\t\n"); out.write("</body>\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final java.lang.String _jspx_method = request.getMethod(); if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) { response.sendError( HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD"); return; } final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write( "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\r\n"); out.write("<title>Insert title here</title>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write('\r'); out.write('\n'); out.println(getInfo()); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html;charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("\r\n"); out.write("<!DOCTYPE >\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n"); out.write("<title>Wali智慧錢包</title>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<!-- \r\n"); out.write("<link href=\"/mPortal/resources/css/style.css\" rel=\"stylesheet\"\r\n"); out.write("\ttype=\"text/css\" media=\"screen\" />\r\n"); out.write("\t -->\r\n"); org.apache.jasper.runtime.JspRuntimeLibrary.include( request, response, "/templates/meta.jsp", out, true); out.write("\r\n"); out.write("\r\n"); out.write("<body>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("This is index.\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { if (response.isCommitted()) { out.flush(); } else { out.clearBuffer(); } } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html;charset=utf-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("\r\n"); if (_jspx_meth_c_005fset_005f0(_jspx_page_context)) return; out.write('\r'); out.write('\n'); out.write("\r\n"); out.write("<script type=\"text/javascript\">\r\n"); out.write("\t$(document).ready(function() {\r\n"); out.write("\t\tvar mmid = $(\"#meid\").val();\r\n"); out.write("\t\t$(\"#updatemessage\").validate({\r\n"); out.write("\t\t\trules : {\r\n"); out.write("\t\t\t\tmessagefor : {\r\n"); out.write("\t\t\t\t \trequired : true,\r\n"); out.write("\t\t\t\t remote: {\r\n"); out.write("\t\t\t\t type: \"get\",\r\n"); out.write("\t url: \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/admin/spiritualmessage/getupdatecheck.do?id=\"+mmid,\r\n"); out.write("\t data: {\r\n"); out.write("\t \tmessagefor: function(){\r\n"); out.write("\t return $('#formessage').val();\r\n"); out.write("\t }, \r\n"); out.write("\t \r\n"); out.write("\t },\r\n"); out.write("\t \r\n"); out.write("\t },\r\n"); out.write("\t\t\t\t },\r\n"); out.write("\t\t\t\t title:{\r\n"); out.write("\t\t\t\t\t required : true\r\n"); out.write("\t\t\t\t\t }\r\n"); out.write("\t\t\t\t},\r\n"); out.write("\t\t\tmessages : {\r\n"); out.write("\t\t\t\tmessagefor : {\r\n"); out.write("\t\t\t\t\trequired : \"messagefor is required\",\r\n"); out.write("\t\t\t\t\tremote:\"messagefor has exist!\"\r\n"); out.write("\t\t\t\t},\r\n"); out.write("\t\t\t\ttitle : {\r\n"); out.write("\t\t\t\t\trequired : \"title is required\"\r\n"); out.write("\t\t\t\t}\r\n"); out.write("\t\t\t},\r\n"); out.write("\t\t\terrorPlacement : function(error, element) {\r\n"); out.write("\t\t\t\t/* error.appendTo(element.parent().next()); */\r\n"); out.write("\t\t\t\terror.insertAfter(element.parent());\r\n"); out.write("\t\t\t}\r\n"); out.write("\t\t\t\r\n"); out.write("\t\t});\r\n"); out.write("\t\t\r\n"); out.write("\t});\r\n"); out.write("\r\n"); out.write("</script>\r\n"); out.write("<div class=\"edit\">\r\n"); out.write("\t<h1>Edit Spiritual Message</h1>\r\n"); out.write("\t<form action=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write( "/admin/spiritualmessage/updatespiritualmessage.do\" method=\"post\" id=\"updatemessage\">\r\n"); out.write("\t <input type=\"hidden\" name=\"messageid\" value=\""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${message.id}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" id=\"meid\"/>\r\n"); out.write("\t\t<table>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td>Message FOR:<span>*</span>\r\n"); out.write("\t\t\t\t</td>\r\n"); out.write("\t\t\t\t<td><select name=\"messagefor\" id=\"formessage\">\r\n"); out.write("\t\t\t\t\t\t<option value=\"\">---please choose---</option>\r\n"); out.write("\t\t\t\t\t\t"); if (_jspx_meth_c_005fforEach_005f0(_jspx_page_context)) return; out.write("\r\n"); out.write("\t\t\t\t</select></td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t <td>Title:<span>*</span></td>\r\n"); out.write("\t\t <td>\r\n"); out.write(" <textarea name=\"title\" id=\"Messagetitle\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${message.title}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</textarea>\r\n"); out.write(" </td>\r\n"); out.write("\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td>Top Message:</td>\r\n"); out.write("\t\t\t\t<td><textarea name=\"topMessage\" id=\"Messagetop\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${message.topMessage}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</textarea></td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t\t<tr>\r\n"); out.write("\t\t\t\t<td>Bottom Message:</td>\r\n"); out.write("\t\t\t\t<td><textarea name=\"bottomMessage\" id=\"Messagebottom\">"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${message.bottomMessage}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("</textarea></td>\r\n"); out.write("\t\t\t</tr>\r\n"); out.write("\t\t</table>\r\n"); out.write("\t\t<div class=\"marginButton\">\r\n"); out.write("\t\t\t<input type=\"submit\" value=\"save\" /> \r\n"); out.write( "\t\t\t<input type=\"button\" value=\"cancel\" onclick=\"javascript:location.href='"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${ctx}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("/admin/spiritualmessage/gotospiritualmessage.do'\" />\r\n"); out.write("\t\t</div>\r\n"); out.write("\t</form>\r\n"); out.write("</div>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }
public void _jspService( final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException { final javax.servlet.jsp.PageContext pageContext; javax.servlet.http.HttpSession session = null; final javax.servlet.ServletContext application; final javax.servlet.ServletConfig config; javax.servlet.jsp.JspWriter out = null; final java.lang.Object page = this; javax.servlet.jsp.JspWriter _jspx_out = null; javax.servlet.jsp.PageContext _jspx_page_context = null; try { response.setContentType("text/html; charset=UTF-8"); pageContext = _jspxFactory.getPageContext(this, request, response, null, true, 8192, true); _jspx_page_context = pageContext; application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); _jspx_out = out; out.write("\r\n"); out.write("\r\n"); out.write("<html>\r\n"); out.write("<head>\r\n"); out.write(" <title>SQLCmd</title>\r\n"); out.write("</head>\r\n"); out.write("<body>\r\n"); out.write("Execute result: \""); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${execute}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("\" was "); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${result}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("!<br>\r\n"); out.write( (java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate( "${error}", java.lang.String.class, (javax.servlet.jsp.PageContext) _jspx_page_context, null, false)); out.write("<br>\r\n"); out.write("\r\n"); out.write("\r\n"); out.write("<rows>\r\n"); out.write(" <tr>\r\n"); out.write(" <td>\r\n"); out.write( " <p>You can go to <a href=\"help\">help</a> or <a href=\"menu\">Menu</a>\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("\r\n"); out.write("</rows>"); out.write('\r'); out.write('\n'); out.write("\r\n"); out.write("\r\n"); out.write("<rows>\r\n"); out.write(" <tr>\r\n"); out.write( " <td style=\"color: darkblue; font-size: small\"><br><br>Copytihgt 2015 JuJa.com.ua tervola (all rights reserved)\r\n"); out.write(" </td>\r\n"); out.write(" </tr>\r\n"); out.write("</rows>"); out.write("\r\n"); out.write("</p>\r\n"); out.write("\r\n"); out.write("</body>\r\n"); out.write("</html>"); } catch (java.lang.Throwable t) { if (!(t instanceof javax.servlet.jsp.SkipPageException)) { out = _jspx_out; if (out != null && out.getBufferSize() != 0) try { out.clearBuffer(); } catch (java.io.IOException e) { } if (_jspx_page_context != null) _jspx_page_context.handlePageException(t); else throw new ServletException(t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }