__inputerror.java
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:20k
源码类别:

Java编程

开发平台:

Java

  1. /* compiled from JSP: /inputError.jsp
  2. *
  3. * This code was automatically generated at 15:57:08 on 2003-9-4
  4. * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
  5. */
  6. package jsp_servlet;
  7. import java.io.*;
  8. import java.util.*;
  9. import javax.servlet.*;
  10. import javax.servlet.http.*;
  11. import javax.servlet.jsp.*;
  12. import javax.servlet.jsp.tagext.*;
  13. // User imports
  14. // built-in init parameters:
  15. // boolean             _verbose -- wants debugging
  16. // Well-known variables:
  17. // JspWriter out                  -- to write to the browser
  18. // HttpServletRequest  request    -- the request object.
  19. // HttpServletResponse response   -- the response object.
  20. // PageContext pageContext        -- the page context for this JSP
  21. // HttpSession session            -- the session object for the client (if any)
  22. // ServletContext application     -- The servlet (application) context
  23. // ServletConfig config           -- The ServletConfig for this JSP
  24. // Object page                    -- the instance of this page's implementation class (i.e., 'this')
  25. /**
  26. * This code was automatically generated at 15:57:08 on 2003-9-4
  27. * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
  28. *
  29. * Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
  30. */
  31. public final class __inputerror
  32. extends
  33. weblogic.servlet.jsp.JspBase
  34. implements weblogic.servlet.jsp.StaleIndicator
  35. {
  36.   
  37.   private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) {     while (t != null) {       javax.servlet.jsp.tagext.Tag tmp = t;       t = t.getParent();       try { tmp.release(); } catch (Exception ignore) {}     }   }         // StaleIndicator interface   public boolean _isStale() {     weblogic.servlet.jsp.StaleChecker sci =(weblogic.servlet.jsp.StaleChecker)(getServletConfig().getServletContext());     java.io.File f = null;     long lastModWhenBuilt = 0L;     if (sci.isResourceStale("/inputError.jsp", 1060743634000L, "8.1.1.0")) return true;     return false;   }      public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) {     java.io.File f = null;     long lastModWhenBuilt = 0L;     if (sci.isResourceStale("/inputError.jsp", 1060743634000L, "8.1.1.0")) return true;     return false;   }         private static void _writeText(ServletResponse rsp, JspWriter out, String block, byte[] blockBytes) throws IOException {     if (!_WL_ENCODED_BYTES_OK || _hasEncodingChanged(rsp)) {       out.print(block);     } else {       ((weblogic.servlet.jsp.ByteWriter)out).write(blockBytes, block);     }    }         private static boolean _hasEncodingChanged(ServletResponse rsp) {     if (_WL_ORIGINAL_ENCODING.equals(rsp.getCharacterEncoding())) {       return false;     }     return true;   }      private static boolean _WL_ENCODED_BYTES_OK = true;      private static final String _WL_ORIGINAL_ENCODING = "GBK";      private static byte[] _getBytes(String block) {     try {       return block.getBytes(_WL_ORIGINAL_ENCODING);     } catch (java.io.UnsupportedEncodingException u) {       _WL_ENCODED_BYTES_OK = false;     }     return null;   }   private final static String _wl_block0 = "rnrnrnrnrn";   private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0);   private final static String _wl_block1 = "rn<head>rn<title>rninputrn</title>rn</head>rn<body>rn<h1>input Error, pls reinput</h1>rn<p>rn";   private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1);   private final static String _wl_block2 = "rn";   private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2);   private final static String _wl_block3 = "rn";   private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3);   private final static String _wl_block4 = "rn<br>rn";   private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4);   private final static String _wl_block5 = "rn";   private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5);   private final static String _wl_block6 = "rn<br>rn";   private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6);   private final static String _wl_block7 = "<br>rn";   private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7);   private final static String _wl_block8 = "rn";   private final static byte[] _wl_block8Bytes = _getBytes(_wl_block8);   private final static String _wl_block9 = "rn</body>rn";   private final static byte[] _wl_block9Bytes = _getBytes(_wl_block9);   private final static String _wl_block10 = "rnrn";   private final static byte[] _wl_block10Bytes = _getBytes(_wl_block10);   
  38.   
  39.   public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException 
  40.   {  
  41.     
  42.     // declare and set well-known variables:
  43.     javax.servlet.ServletConfig config = getServletConfig();
  44.     javax.servlet.ServletContext application = config.getServletContext();
  45.     javax.servlet.jsp.tagext.Tag _activeTag = null;
  46.     // variables for Tag extension protocol     int _int0 = 0, _int1 = 0, _int2 = 0;     org.apache.struts.taglib.bean.MessageTag _bean_message0 = null;     org.apache.struts.taglib.html.SubmitTag _html_submit0 = null;     org.apache.struts.taglib.html.ResetTag _html_reset0 = null;     org.apache.struts.taglib.html.TextTag _html_text0 = null;     org.apache.struts.taglib.html.FormTag _html_form0 = null;     org.apache.struts.taglib.html.HtmlTag _html_html0 = null;     
  47.     Object page = this;
  48.     javax.servlet.jsp.JspWriter out;
  49.     javax.servlet.jsp.PageContext pageContext =     javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);     
  50.     response.setHeader("Content-Type", "text/html; charset=GBK");     out = pageContext.getOut();     JspWriter _originalOut = out;     
  51.     javax.servlet.http.HttpSession session = request.getSession(true);     
  52.     
  53.     
  54.     try { // error page try block              response.setContentType("text/html; charset=GBK");              _writeText(response, out, _wl_block0, _wl_block0Bytes);       //^%$__TAG_CODEGEN : begin html custom tag block... //[ /inputError.jsp; Line: 6]       /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 6]       if (_html_html0 == null) _html_html0 = new org.apache.struts.taglib.html.HtmlTag(); //[ /inputError.jsp; Line: 6]       _html_html0.setPageContext(pageContext); //[ /inputError.jsp; Line: 6]       _html_html0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /inputError.jsp; Line: 6]       _activeTag = _html_html0; //[ /inputError.jsp; Line: 6]       _int0 = _html_html0.doStartTag(); //[ /inputError.jsp; Line: 6]       if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /inputError.jsp; Line: 6]         throw new JspTagException("Since tag class org.apache.struts.taglib.html.HtmlTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /inputError.jsp; Line: 6]       } //[ /inputError.jsp; Line: 6]       /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 6]       if (_int0 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /inputError.jsp; Line: 6]         do { //[ /inputError.jsp; Line: 6]           /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /inputError.jsp; Line: 6]           /*** declare & sync NESTED TagExtra Vars here ***/ //[ /inputError.jsp; Line: 6]           _writeText(response, out, _wl_block1, _wl_block1Bytes);           //^%$__TAG_CODEGEN : begin form custom tag block... //[ /inputError.jsp; Line: 15]           /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 15]           if (_html_form0 == null) _html_form0 = new org.apache.struts.taglib.html.FormTag(); //[ /inputError.jsp; Line: 15]           _html_form0.setPageContext(pageContext); //[ /inputError.jsp; Line: 15]           _html_form0.setParent((javax.servlet.jsp.tagext.Tag)_html_html0); //[ /inputError.jsp; Line: 15]           _activeTag = _html_form0; //[ /inputError.jsp; Line: 15]           _html_form0.setAction(weblogic.utils.StringUtils.valueOf("/loginAction.do")); //[ /inputError.jsp; Line: 15]           _html_form0.setMethod(weblogic.utils.StringUtils.valueOf("POST")); //[ /inputError.jsp; Line: 15]           _int1 = _html_form0.doStartTag(); //[ /inputError.jsp; Line: 15]           if (_int1 == BodyTag.EVAL_BODY_BUFFERED) { //[ /inputError.jsp; Line: 15]             throw new JspTagException("Since tag class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /inputError.jsp; Line: 15]           } //[ /inputError.jsp; Line: 15]           /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 15]           if (_int1 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /inputError.jsp; Line: 15]             do { //[ /inputError.jsp; Line: 15]               /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /inputError.jsp; Line: 15]               /*** declare & sync NESTED TagExtra Vars here ***/ //[ /inputError.jsp; Line: 15]               _writeText(response, out, _wl_block2, _wl_block2Bytes);               //^%$__TAG_CODEGEN : begin message custom tag block... //[ /inputError.jsp; Line: 16]               /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 16]               if (_bean_message0 == null) _bean_message0 = new org.apache.struts.taglib.bean.MessageTag(); //[ /inputError.jsp; Line: 16]               _bean_message0.setPageContext(pageContext); //[ /inputError.jsp; Line: 16]               _bean_message0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /inputError.jsp; Line: 16]               _activeTag = _bean_message0; //[ /inputError.jsp; Line: 16]               _bean_message0.setKey(weblogic.utils.StringUtils.valueOf("input.shancbz")); //[ /inputError.jsp; Line: 16]               _int2 = _bean_message0.doStartTag(); //[ /inputError.jsp; Line: 16]               if (_int2 == BodyTag.EVAL_BODY_BUFFERED) { //[ /inputError.jsp; Line: 16]                 throw new JspTagException("Since tag class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /inputError.jsp; Line: 16]               } //[ /inputError.jsp; Line: 16]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 16]               _int2 = _bean_message0.doEndTag(); //[ /inputError.jsp; Line: 16]               if (_int2 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_message0); return; } //[ /inputError.jsp; Line: 16]               _activeTag = _bean_message0.getParent(); _bean_message0.release(); //[ /inputError.jsp; Line: 16]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 16]               /*** declare & sync AT_END TagExtra Vars here ***/ //[ /inputError.jsp; Line: 16]               _writeText(response, out, _wl_block3, _wl_block3Bytes);               //^%$__TAG_CODEGEN : begin text custom tag block... //[ /inputError.jsp; Line: 17]               /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 17]               if (_html_text0 == null) _html_text0 = new org.apache.struts.taglib.html.TextTag(); //[ /inputError.jsp; Line: 17]               _html_text0.setPageContext(pageContext); //[ /inputError.jsp; Line: 17]               _html_text0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /inputError.jsp; Line: 17]               _activeTag = _html_text0; //[ /inputError.jsp; Line: 17]               _html_text0.setProperty(weblogic.utils.StringUtils.valueOf("shancbz_new")); //[ /inputError.jsp; Line: 17]               _int2 = _html_text0.doStartTag(); //[ /inputError.jsp; Line: 17]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 17]               weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_text0, _int2, true); //[ /inputError.jsp; Line: 17]               if (_html_text0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_text0); return; } //[ /inputError.jsp; Line: 17]               _activeTag = _html_text0.getParent(); _html_text0.release(); //[ /inputError.jsp; Line: 17]               //end text custom tag.... //[ /inputError.jsp; Line: 17]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 17]               _writeText(response, out, _wl_block4, _wl_block4Bytes);               //^%$__TAG_CODEGEN : begin text custom tag block... //[ /inputError.jsp; Line: 19]               /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 19]               if (_html_text0 == null) _html_text0 = new org.apache.struts.taglib.html.TextTag(); //[ /inputError.jsp; Line: 19]               _html_text0.setPageContext(pageContext); //[ /inputError.jsp; Line: 19]               _html_text0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /inputError.jsp; Line: 19]               _activeTag = _html_text0; //[ /inputError.jsp; Line: 19]               _html_text0.setProperty(weblogic.utils.StringUtils.valueOf("xiwbz_new")); //[ /inputError.jsp; Line: 19]               _int2 = _html_text0.doStartTag(); //[ /inputError.jsp; Line: 19]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 19]               weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_text0, _int2, true); //[ /inputError.jsp; Line: 19]               if (_html_text0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_text0); return; } //[ /inputError.jsp; Line: 19]               _activeTag = _html_text0.getParent(); _html_text0.release(); //[ /inputError.jsp; Line: 19]               //end text custom tag.... //[ /inputError.jsp; Line: 19]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 19]               _writeText(response, out, _wl_block5, _wl_block5Bytes);               //^%$__TAG_CODEGEN : begin text custom tag block... //[ /inputError.jsp; Line: 20]               /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 20]               if (_html_text0 == null) _html_text0 = new org.apache.struts.taglib.html.TextTag(); //[ /inputError.jsp; Line: 20]               _html_text0.setPageContext(pageContext); //[ /inputError.jsp; Line: 20]               _html_text0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /inputError.jsp; Line: 20]               _activeTag = _html_text0; //[ /inputError.jsp; Line: 20]               _html_text0.setProperty(weblogic.utils.StringUtils.valueOf("xiwbz_new")); //[ /inputError.jsp; Line: 20]               _int2 = _html_text0.doStartTag(); //[ /inputError.jsp; Line: 20]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 20]               weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_text0, _int2, true); //[ /inputError.jsp; Line: 20]               if (_html_text0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_text0); return; } //[ /inputError.jsp; Line: 20]               _activeTag = _html_text0.getParent(); _html_text0.release(); //[ /inputError.jsp; Line: 20]               //end text custom tag.... //[ /inputError.jsp; Line: 20]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 20]               _writeText(response, out, _wl_block6, _wl_block6Bytes);               //^%$__TAG_CODEGEN : begin submit custom tag block... //[ /inputError.jsp; Line: 22]               /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 22]               if (_html_submit0 == null) _html_submit0 = new org.apache.struts.taglib.html.SubmitTag(); //[ /inputError.jsp; Line: 22]               _html_submit0.setPageContext(pageContext); //[ /inputError.jsp; Line: 22]               _html_submit0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /inputError.jsp; Line: 22]               _activeTag = _html_submit0; //[ /inputError.jsp; Line: 22]               _html_submit0.setProperty(weblogic.utils.StringUtils.valueOf("submit")); //[ /inputError.jsp; Line: 22]               _html_submit0.setValue(weblogic.utils.StringUtils.valueOf("Submit")); //[ /inputError.jsp; Line: 22]               _int2 = _html_submit0.doStartTag(); //[ /inputError.jsp; Line: 22]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 22]               weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_submit0, _int2, true); //[ /inputError.jsp; Line: 22]               if (_html_submit0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_submit0); return; } //[ /inputError.jsp; Line: 22]               _activeTag = _html_submit0.getParent(); _html_submit0.release(); //[ /inputError.jsp; Line: 22]               //end submit custom tag.... //[ /inputError.jsp; Line: 22]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 22]               _writeText(response, out, _wl_block7, _wl_block7Bytes);               //^%$__TAG_CODEGEN : begin reset custom tag block... //[ /inputError.jsp; Line: 23]               /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 23]               if (_html_reset0 == null) _html_reset0 = new org.apache.struts.taglib.html.ResetTag(); //[ /inputError.jsp; Line: 23]               _html_reset0.setPageContext(pageContext); //[ /inputError.jsp; Line: 23]               _html_reset0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /inputError.jsp; Line: 23]               _activeTag = _html_reset0; //[ /inputError.jsp; Line: 23]               _html_reset0.setValue(weblogic.utils.StringUtils.valueOf("Reset")); //[ /inputError.jsp; Line: 23]               _int2 = _html_reset0.doStartTag(); //[ /inputError.jsp; Line: 23]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 23]               weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_reset0, _int2, true); //[ /inputError.jsp; Line: 23]               if (_html_reset0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_reset0); return; } //[ /inputError.jsp; Line: 23]               _activeTag = _html_reset0.getParent(); _html_reset0.release(); //[ /inputError.jsp; Line: 23]               //end reset custom tag.... //[ /inputError.jsp; Line: 23]               /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 23]               _writeText(response, out, _wl_block8, _wl_block8Bytes);               //^%$__TAG_CODEGEN  //[ /inputError.jsp; Line: 24]             } while (_html_form0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /inputError.jsp; Line: 24]           } // end !SKIP_BODY //[ /inputError.jsp; Line: 24]           if (_html_form0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_form0); return; } //[ /inputError.jsp; Line: 24]           _activeTag = _html_form0.getParent(); _html_form0.release(); //[ /inputError.jsp; Line: 24]           //end form custom tag.... //[ /inputError.jsp; Line: 24]           /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 24]           /*** declare & sync AT_END TagExtra Vars here ***/ //[ /inputError.jsp; Line: 24]           _writeText(response, out, _wl_block9, _wl_block9Bytes);           //^%$__TAG_CODEGEN  //[ /inputError.jsp; Line: 26]         } while (_html_html0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /inputError.jsp; Line: 26]       } // end !SKIP_BODY //[ /inputError.jsp; Line: 26]       if (_html_html0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_html0); return; } //[ /inputError.jsp; Line: 26]       _activeTag = _html_html0.getParent(); _html_html0.release(); //[ /inputError.jsp; Line: 26]       //end html custom tag.... //[ /inputError.jsp; Line: 26]       /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /inputError.jsp; Line: 26]       /*** declare & sync AT_END TagExtra Vars here ***/ //[ /inputError.jsp; Line: 26]       _writeText(response, out, _wl_block10, _wl_block10Bytes);     } catch (Throwable __ee) {       while (out != null && out != _originalOut) out = pageContext.popBody();       _releaseTags(_activeTag);       ((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee);     }          
  55.     //before final close brace...
  56.   }
  57.   
  58.   
  59. }