public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { response.setContentType("text/html;charset=windows-1252"); /* set up the intrinsic variables using the pageContext goober: ** session = HttpSession ** application = ServletContext ** out = JspWriter ** page = this ** config = ServletConfig ** all session/app beans declared in globals.jsa */ PageContext pageContext = JspFactory.getDefaultFactory() .getPageContext(this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true); // Note: this is not emitted if the session directive == false HttpSession session = pageContext.getSession(); if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) { pageContext.setAttribute( OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE); JspFactory.getDefaultFactory().releasePageContext(pageContext); return; } int __jsp_tag_starteval; ServletContext application = pageContext.getServletContext(); JspWriter out = pageContext.getOut(); _mainMib page = this; ServletConfig config = pageContext.getServletConfig(); try { // global beans // end global beans /*@lineinfo:user-code*/ /*@lineinfo:1^1*/ session.setAttribute("ip", request.getParameter("ip")); /*@lineinfo:generated-code*/ out.write(__oracle_jsp_text[0]); } catch (Throwable e) { try { if (out != null) out.clear(); } catch (Exception clearException) { } pageContext.handlePageException(e); } finally { OracleJspRuntime.extraHandlePCFinally(pageContext, false); JspFactory.getDefaultFactory().releasePageContext(pageContext); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { JspFactory _jspxFactory = null; PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; String _value = null; try { if (_jspx_inited == false) { synchronized (this) { if (_jspx_inited == false) { _jspx_init(); _jspx_inited = true; } } } _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html;ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, "", true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); // HTML // begin [file="/gdp/verregistro.jsp";from=(0,0);to=(1,0)] out.write("<!-- Forward to a servlet -->\r\n"); // end // begin [file="/gdp/verregistro.jsp";from=(1,0);to=(1,47)] if (true) { out.clear(); String _jspx_qfStr = ""; pageContext.forward("/servlet/gdp.verregistro" + _jspx_qfStr); return; } // end } catch (Throwable t) { if (out != null && out.getBufferSize() != 0) out.clearBuffer(); if (pageContext != null) pageContext.handlePageException(t); } finally { if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { response.setContentType("text/html"); /* set up the intrinsic variables using the pageContext goober: ** session = HttpSession ** application = ServletContext ** out = JspWriter ** page = this ** config = ServletConfig ** all session/app beans declared in globals.jsa */ PageContext pageContext = JspFactory.getDefaultFactory() .getPageContext( this, request, response, "/jsp/common/GenericError.jsp", true, JspWriter.DEFAULT_BUFFER, true); // Note: this is not emitted if the session directive == false HttpSession session = pageContext.getSession(); int __jsp_tag_starteval; ServletContext application = pageContext.getServletContext(); JspWriter out = pageContext.getOut(); _criteria page = this; ServletConfig config = pageContext.getServletConfig(); javax.servlet.jsp.el.VariableResolver __ojsp_varRes = (VariableResolver) new OracleVariableResolverImpl(pageContext); com.evermind.server.http.JspCommonExtraWriter __ojsp_s_out = (com.evermind.server.http.JspCommonExtraWriter) out; try { // compile time tag reuse - begin // usage : org.apache.taglibs.standard.tag.rt.fmt.MessageTag key org.apache.taglibs.standard.tag.rt.fmt.MessageTag __jsp_tag_ctru0 = (org.apache.taglibs.standard.tag.rt.fmt.MessageTag) OracleJspRuntime.getTagHandler( pageContext, org.apache.taglibs.standard.tag.rt.fmt.MessageTag.class, "compiletime"); // compile tag reuse - end __ojsp_s_out.write(__oracle_jsp_text[0]); __ojsp_s_out.write(__oracle_jsp_text[1]); __ojsp_s_out.write(__oracle_jsp_text[2]); __ojsp_s_out.write(__oracle_jsp_text[3]); __ojsp_s_out.write(__oracle_jsp_text[4]); __ojsp_s_out.write(__oracle_jsp_text[5]); __ojsp_s_out.write(__oracle_jsp_text[6]); __ojsp_s_out.write(__oracle_jsp_text[7]); __ojsp_s_out.write(__oracle_jsp_text[8]); __ojsp_s_out.write(__oracle_jsp_text[9]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.header1"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[10]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.header2"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[11]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.note1"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[12]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.note2"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[13]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.fromDate1"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[14]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.fromDate2"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[15]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.tagId"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[16]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.note3"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[17]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.licPlate"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[18]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.note3"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[19]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.tranType"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[20]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.reportFormat"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[21]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.reportFormat.html"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[22]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.reportFormat.pdf"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[23]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.reportFormat.excel"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[24]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.note4"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[25]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.button.display"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[26]); { __jsp_tag_ctru0.setPageContext(pageContext); __jsp_tag_ctru0.setParent(null); __jsp_tag_ctru0.setKey("accountHistory.criteria.button.reset"); __jsp_tag_starteval = __jsp_tag_ctru0.doStartTag(); if (__jsp_tag_ctru0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) return; } __ojsp_s_out.write(__oracle_jsp_text[27]); out.write( (java.lang.String) oracle.jsp.runtime.OracleJspRuntime.evaluate( "${pageContext.request.contextPath}", java.lang.String.class, __ojsp_varRes, null)); __ojsp_s_out.write(__oracle_jsp_text[28]); } catch (Throwable e) { if (!(e instanceof javax.servlet.jsp.SkipPageException)) { try { if (out != null) out.clear(); } catch (Exception clearException) { } pageContext.handlePageException(e); } } finally { OracleJspRuntime.extraHandlePCFinally(pageContext, true); JspFactory.getDefaultFactory().releasePageContext(pageContext); } }
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException { PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; JspWriter _jspx_out = null; PageContext _jspx_page_context = null; try { response.setContentType("image/jpeg"); pageContext = _jspxFactory.getPageContext( this, request, response, "/myhtml/errorpage/erroe.jsp", 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'); out.write('\n'); // 设置页é¢ä¸ç¼å response.setHeader("Pragma", "No-cache"); response.setHeader("Cache-Control", "no-cache"); response.setDateHeader("Expires", 0); // å¨å åä¸å建å¾è±¡ int width = 60, height = 20; BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB); // è·åå¾å½¢ä¸ä¸æ Graphics g = image.getGraphics(); // çæéæºç±» Random random = new Random(); // 设å®èæ¯è² g.setColor(getRandColor(200, 250)); g.fillRect(0, 0, width, height); // 设å®åä½ g.setFont(new Font("Times New Roman", Font.PLAIN, 18)); // ç»è¾¹æ¡ // g.setColor(new Color()); // g.drawRect(0,0,width-1,height-1); // éæºäº§ç155æ¡å¹²æ°çº¿ï¼ä½¿å¾è±¡ä¸ç认è¯ç ä¸æè¢«å ¶å®ç¨åºæ¢æµå° g.setColor(getRandColor(160, 200)); for (int i = 0; i < 155; i++) { int x = random.nextInt(width); int y = random.nextInt(height); int xl = random.nextInt(12); int yl = random.nextInt(12); g.drawLine(x, y, x + xl, y + yl); } // åéæºäº§çç认è¯ç (4ä½æ°å) String sRand = ""; for (int i = 0; i < 4; i++) { String rand = String.valueOf(random.nextInt(10)); sRand += rand; // å°è®¤è¯ç æ¾ç¤ºå°å¾è±¡ä¸ g.setColor( new Color( 20 + random.nextInt(110), 20 + random.nextInt(110), 20 + random.nextInt(110))); // è°ç¨å½æ°åºæ¥çé¢è²ç¸åï¼å¯è½æ¯å // 为ç§å太æ¥è¿ï¼æ以åªè½ç´æ¥çæ g.drawString(rand, 13 * i + 6, 16); } // å°è®¤è¯ç åå ¥SESSION session.setAttribute("rand", sRand); // å¾è±¡çæ g.dispose(); // è¾åºå¾è±¡å°é¡µé¢ ImageIO.write(image, "JPEG", response.getOutputStream()); out.clear(); out = pageContext.pushBody(); } catch (Throwable t) { if (!(t instanceof 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 log(t.getMessage(), t); } } finally { _jspxFactory.releasePageContext(_jspx_page_context); } }