__input.java
资源名称:某公司的java培训教材 [点击查看]
上传用户:dinglihq
上传日期:2013-02-04
资源大小:99958k
文件大小:20k
源码类别:
Java编程
开发平台:
Java
- /* compiled from JSP: /input.jsp
- *
- * This code was automatically generated at 11:15:18 on 2003-8-30
- * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
- */
- package jsp_servlet;
- import java.io.*;
- import java.util.*;
- import javax.servlet.*;
- import javax.servlet.http.*;
- import javax.servlet.jsp.*;
- import javax.servlet.jsp.tagext.*;
- // User imports
- // built-in init parameters:
- // boolean _verbose -- wants debugging
- // Well-known variables:
- // JspWriter out -- to write to the browser
- // HttpServletRequest request -- the request object.
- // HttpServletResponse response -- the response object.
- // PageContext pageContext -- the page context for this JSP
- // HttpSession session -- the session object for the client (if any)
- // ServletContext application -- The servlet (application) context
- // ServletConfig config -- The ServletConfig for this JSP
- // Object page -- the instance of this page's implementation class (i.e., 'this')
- /**
- * This code was automatically generated at 11:15:18 on 2003-8-30
- * by weblogic.servlet.jsp.Jsp2Java -- do not edit.
- *
- * Copyright (c) 2003 by BEA Systems, Inc. All Rights Reserved.
- */
- public final class __input
- extends
- weblogic.servlet.jsp.JspBase
- implements weblogic.servlet.jsp.StaleIndicator
- {
- 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("/input.jsp", 1060768618000L, "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("/input.jsp", 1060768618000L, "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 = "nnnnn"; private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0); private final static String _wl_block1 = "n<head>n<title>ninputn</title>n</head>n<body>n<h1>JBuilder Generated Struts JSP for ActionForm com.miaoq.userjmssesenbdb.LoginActionForm</h1>n<p>n"; private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1); private final static String _wl_block2 = "n"; private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2); private final static String _wl_block3 = "n"; private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3); private final static String _wl_block4 = "n<br>n"; private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4); private final static String _wl_block5 = "n"; private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5); private final static String _wl_block6 = "n<br>n"; private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6); private final static String _wl_block7 = "<br>n"; private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7); private final static String _wl_block8 = "n"; private final static byte[] _wl_block8Bytes = _getBytes(_wl_block8); private final static String _wl_block9 = "n</body>n"; private final static byte[] _wl_block9Bytes = _getBytes(_wl_block9); private final static String _wl_block10 = "n"; private final static byte[] _wl_block10Bytes = _getBytes(_wl_block10);
- public void _jspService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, javax.servlet.ServletException
- {
- // declare and set well-known variables:
- javax.servlet.ServletConfig config = getServletConfig();
- javax.servlet.ServletContext application = config.getServletContext();
- javax.servlet.jsp.tagext.Tag _activeTag = null;
- // 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;
- Object page = this;
- javax.servlet.jsp.JspWriter out;
- javax.servlet.jsp.PageContext pageContext = javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);
- response.setHeader("Content-Type", "text/html; charset=GBK"); out = pageContext.getOut(); JspWriter _originalOut = out;
- javax.servlet.http.HttpSession session = request.getSession(true);
- 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... //[ /input.jsp; Line: 6] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 6] if (_html_html0 == null) _html_html0 = new org.apache.struts.taglib.html.HtmlTag(); //[ /input.jsp; Line: 6] _html_html0.setPageContext(pageContext); //[ /input.jsp; Line: 6] _html_html0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /input.jsp; Line: 6] _activeTag = _html_html0; //[ /input.jsp; Line: 6] _int0 = _html_html0.doStartTag(); //[ /input.jsp; Line: 6] if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /input.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"); //[ /input.jsp; Line: 6] } //[ /input.jsp; Line: 6] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 6] if (_int0 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /input.jsp; Line: 6] do { //[ /input.jsp; Line: 6] /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /input.jsp; Line: 6] /*** declare & sync NESTED TagExtra Vars here ***/ //[ /input.jsp; Line: 6] _writeText(response, out, _wl_block1, _wl_block1Bytes); //^%$__TAG_CODEGEN : begin form custom tag block... //[ /input.jsp; Line: 15] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 15] if (_html_form0 == null) _html_form0 = new org.apache.struts.taglib.html.FormTag(); //[ /input.jsp; Line: 15] _html_form0.setPageContext(pageContext); //[ /input.jsp; Line: 15] _html_form0.setParent((javax.servlet.jsp.tagext.Tag)_html_html0); //[ /input.jsp; Line: 15] _activeTag = _html_form0; //[ /input.jsp; Line: 15] _html_form0.setAction(weblogic.utils.StringUtils.valueOf("/loginAction.do")); //[ /input.jsp; Line: 15] _html_form0.setMethod(weblogic.utils.StringUtils.valueOf("POST")); //[ /input.jsp; Line: 15] _int1 = _html_form0.doStartTag(); //[ /input.jsp; Line: 15] if (_int1 == BodyTag.EVAL_BODY_BUFFERED) { //[ /input.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"); //[ /input.jsp; Line: 15] } //[ /input.jsp; Line: 15] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 15] if (_int1 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /input.jsp; Line: 15] do { //[ /input.jsp; Line: 15] /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /input.jsp; Line: 15] /*** declare & sync NESTED TagExtra Vars here ***/ //[ /input.jsp; Line: 15] _writeText(response, out, _wl_block2, _wl_block2Bytes); //^%$__TAG_CODEGEN : begin message custom tag block... //[ /input.jsp; Line: 16] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 16] if (_bean_message0 == null) _bean_message0 = new org.apache.struts.taglib.bean.MessageTag(); //[ /input.jsp; Line: 16] _bean_message0.setPageContext(pageContext); //[ /input.jsp; Line: 16] _bean_message0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /input.jsp; Line: 16] _activeTag = _bean_message0; //[ /input.jsp; Line: 16] _bean_message0.setKey(weblogic.utils.StringUtils.valueOf("input.shancbz")); //[ /input.jsp; Line: 16] _int2 = _bean_message0.doStartTag(); //[ /input.jsp; Line: 16] if (_int2 == BodyTag.EVAL_BODY_BUFFERED) { //[ /input.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"); //[ /input.jsp; Line: 16] } //[ /input.jsp; Line: 16] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 16] _int2 = _bean_message0.doEndTag(); //[ /input.jsp; Line: 16] if (_int2 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_message0); return; } //[ /input.jsp; Line: 16] _activeTag = _bean_message0.getParent(); _bean_message0.release(); //[ /input.jsp; Line: 16] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 16] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /input.jsp; Line: 16] _writeText(response, out, _wl_block3, _wl_block3Bytes); //^%$__TAG_CODEGEN : begin text custom tag block... //[ /input.jsp; Line: 17] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 17] if (_html_text0 == null) _html_text0 = new org.apache.struts.taglib.html.TextTag(); //[ /input.jsp; Line: 17] _html_text0.setPageContext(pageContext); //[ /input.jsp; Line: 17] _html_text0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /input.jsp; Line: 17] _activeTag = _html_text0; //[ /input.jsp; Line: 17] _html_text0.setProperty(weblogic.utils.StringUtils.valueOf("shancbz_new")); //[ /input.jsp; Line: 17] _int2 = _html_text0.doStartTag(); //[ /input.jsp; Line: 17] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 17] weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_text0, _int2, true); //[ /input.jsp; Line: 17] if (_html_text0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_text0); return; } //[ /input.jsp; Line: 17] _activeTag = _html_text0.getParent(); _html_text0.release(); //[ /input.jsp; Line: 17] //end text custom tag.... //[ /input.jsp; Line: 17] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 17] _writeText(response, out, _wl_block4, _wl_block4Bytes); //^%$__TAG_CODEGEN : begin message custom tag block... //[ /input.jsp; Line: 19] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 19] if (_bean_message0 == null) _bean_message0 = new org.apache.struts.taglib.bean.MessageTag(); //[ /input.jsp; Line: 19] _bean_message0.setPageContext(pageContext); //[ /input.jsp; Line: 19] _bean_message0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /input.jsp; Line: 19] _activeTag = _bean_message0; //[ /input.jsp; Line: 19] _bean_message0.setKey(weblogic.utils.StringUtils.valueOf("input.xiwbz")); //[ /input.jsp; Line: 19] _int2 = _bean_message0.doStartTag(); //[ /input.jsp; Line: 19] if (_int2 == BodyTag.EVAL_BODY_BUFFERED) { //[ /input.jsp; Line: 19] throw new JspTagException("Since tag class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /input.jsp; Line: 19] } //[ /input.jsp; Line: 19] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 19] _int2 = _bean_message0.doEndTag(); //[ /input.jsp; Line: 19] if (_int2 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_message0); return; } //[ /input.jsp; Line: 19] _activeTag = _bean_message0.getParent(); _bean_message0.release(); //[ /input.jsp; Line: 19] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 19] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /input.jsp; Line: 19] _writeText(response, out, _wl_block5, _wl_block5Bytes); //^%$__TAG_CODEGEN : begin text custom tag block... //[ /input.jsp; Line: 20] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 20] if (_html_text0 == null) _html_text0 = new org.apache.struts.taglib.html.TextTag(); //[ /input.jsp; Line: 20] _html_text0.setPageContext(pageContext); //[ /input.jsp; Line: 20] _html_text0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /input.jsp; Line: 20] _activeTag = _html_text0; //[ /input.jsp; Line: 20] _html_text0.setProperty(weblogic.utils.StringUtils.valueOf("xiwbz_new")); //[ /input.jsp; Line: 20] _int2 = _html_text0.doStartTag(); //[ /input.jsp; Line: 20] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 20] weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_text0, _int2, true); //[ /input.jsp; Line: 20] if (_html_text0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_text0); return; } //[ /input.jsp; Line: 20] _activeTag = _html_text0.getParent(); _html_text0.release(); //[ /input.jsp; Line: 20] //end text custom tag.... //[ /input.jsp; Line: 20] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 20] _writeText(response, out, _wl_block6, _wl_block6Bytes); //^%$__TAG_CODEGEN : begin submit custom tag block... //[ /input.jsp; Line: 22] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 22] if (_html_submit0 == null) _html_submit0 = new org.apache.struts.taglib.html.SubmitTag(); //[ /input.jsp; Line: 22] _html_submit0.setPageContext(pageContext); //[ /input.jsp; Line: 22] _html_submit0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /input.jsp; Line: 22] _activeTag = _html_submit0; //[ /input.jsp; Line: 22] _html_submit0.setProperty(weblogic.utils.StringUtils.valueOf("submit")); //[ /input.jsp; Line: 22] _html_submit0.setValue(weblogic.utils.StringUtils.valueOf("Submit")); //[ /input.jsp; Line: 22] _int2 = _html_submit0.doStartTag(); //[ /input.jsp; Line: 22] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 22] weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_submit0, _int2, true); //[ /input.jsp; Line: 22] if (_html_submit0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_submit0); return; } //[ /input.jsp; Line: 22] _activeTag = _html_submit0.getParent(); _html_submit0.release(); //[ /input.jsp; Line: 22] //end submit custom tag.... //[ /input.jsp; Line: 22] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 22] _writeText(response, out, _wl_block7, _wl_block7Bytes); //^%$__TAG_CODEGEN : begin reset custom tag block... //[ /input.jsp; Line: 23] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 23] if (_html_reset0 == null) _html_reset0 = new org.apache.struts.taglib.html.ResetTag(); //[ /input.jsp; Line: 23] _html_reset0.setPageContext(pageContext); //[ /input.jsp; Line: 23] _html_reset0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /input.jsp; Line: 23] _activeTag = _html_reset0; //[ /input.jsp; Line: 23] _html_reset0.setValue(weblogic.utils.StringUtils.valueOf("Reset")); //[ /input.jsp; Line: 23] _int2 = _html_reset0.doStartTag(); //[ /input.jsp; Line: 23] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 23] weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_reset0, _int2, true); //[ /input.jsp; Line: 23] if (_html_reset0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_reset0); return; } //[ /input.jsp; Line: 23] _activeTag = _html_reset0.getParent(); _html_reset0.release(); //[ /input.jsp; Line: 23] //end reset custom tag.... //[ /input.jsp; Line: 23] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 23] _writeText(response, out, _wl_block8, _wl_block8Bytes); //^%$__TAG_CODEGEN //[ /input.jsp; Line: 24] } while (_html_form0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /input.jsp; Line: 24] } // end !SKIP_BODY //[ /input.jsp; Line: 24] if (_html_form0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_form0); return; } //[ /input.jsp; Line: 24] _activeTag = _html_form0.getParent(); _html_form0.release(); //[ /input.jsp; Line: 24] //end form custom tag.... //[ /input.jsp; Line: 24] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 24] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /input.jsp; Line: 24] _writeText(response, out, _wl_block9, _wl_block9Bytes); //^%$__TAG_CODEGEN //[ /input.jsp; Line: 26] } while (_html_html0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /input.jsp; Line: 26] } // end !SKIP_BODY //[ /input.jsp; Line: 26] if (_html_html0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_html0); return; } //[ /input.jsp; Line: 26] _activeTag = _html_html0.getParent(); _html_html0.release(); //[ /input.jsp; Line: 26] //end html custom tag.... //[ /input.jsp; Line: 26] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /input.jsp; Line: 26] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /input.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); }
- //before final close brace...
- }
- }