📄 __scoreinfo.java
字号:
/* compiled from JSP: /scoreInfo.jsp
*
* This code was automatically generated at 21:43:18 on 2004-11-11
* 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 21:43:18 on 2004-11-11
* by weblogic.servlet.jsp.Jsp2Java -- do not edit.
*
* Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
*/
public final class __scoreinfo
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("/scoreInfo.jsp", 1099405463250L, "8.1.3.0", "Asia/Shanghai")) return true; return false; } public static boolean _staticIsStale(weblogic.servlet.jsp.StaleChecker sci) { java.io.File f = null; long lastModWhenBuilt = 0L; if (sci.isResourceStale("/scoreInfo.jsp", 1099405463250L, "8.1.3.0", "Asia/Shanghai")) 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 = "\r\n\r\n\r\n\r\n<html>\r\n<head>\r\n <script type=\"text/javascript\">\r\n function returnToHomePage()\r\n {\r\n window.location = \"./chooseOperation.jsp\";\r\n }\r\n </script>\r\n<title>考试成绩查询</title>\r\n</head>\r\n<body bgcolor=\"#c0c0c0\">\r\n "; private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0); private final static String _wl_block1 = "\r\n <table width=\"50%\" border=\"1\">\r\n "; private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1); private final static String _wl_block2 = "\r\n <tr><td colspan=\"2\"><input type=\"button\" value=\"回首页\" name=\"backbutton\" onclick=\"returnToHomePage();\"/>\r\n </td>\r\n </tr>\r\n </table>\r\n "; private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2); private final static String _wl_block3 = "\r\n</body>\r\n</html>\r\n"; private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3);
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.WriteTag _bean_write0 = null; org.apache.struts.taglib.logic.IterateTag _logic_iterate0 = null; org.apache.struts.taglib.html.FormTag _html_form0 = 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 form custom tag block... //[ /scoreInfo.jsp; Line: 16] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 16] if (_html_form0 == null) _html_form0 = new org.apache.struts.taglib.html.FormTag(); //[ /scoreInfo.jsp; Line: 16] _html_form0.setPageContext(pageContext); //[ /scoreInfo.jsp; Line: 16] _html_form0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /scoreInfo.jsp; Line: 16] _activeTag = _html_form0; //[ /scoreInfo.jsp; Line: 16] _html_form0.setAction(weblogic.utils.StringUtils.valueOf("/inquireScoreAction")); //[ /scoreInfo.jsp; Line: 16] _int0 = _html_form0.doStartTag(); //[ /scoreInfo.jsp; Line: 16] if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /scoreInfo.jsp; Line: 16] throw new JspTagException("Since tag class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /scoreInfo.jsp; Line: 16] } //[ /scoreInfo.jsp; Line: 16] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 16] if (_int0 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /scoreInfo.jsp; Line: 16] do { //[ /scoreInfo.jsp; Line: 16] /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /scoreInfo.jsp; Line: 16] /*** declare & sync NESTED TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 16] _writeText(response, out, _wl_block1, _wl_block1Bytes); //^%$__TAG_CODEGEN : begin iterate custom tag block... //[ /scoreInfo.jsp; Line: 18] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 18] if (_logic_iterate0 == null) _logic_iterate0 = new org.apache.struts.taglib.logic.IterateTag(); //[ /scoreInfo.jsp; Line: 18] _logic_iterate0.setPageContext(pageContext); //[ /scoreInfo.jsp; Line: 18] _logic_iterate0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /scoreInfo.jsp; Line: 18] _activeTag = _logic_iterate0; //[ /scoreInfo.jsp; Line: 18] _logic_iterate0.setId(weblogic.utils.StringUtils.valueOf("item")); //[ /scoreInfo.jsp; Line: 18] _logic_iterate0.setName(weblogic.utils.StringUtils.valueOf("inquireScoreForm")); //[ /scoreInfo.jsp; Line: 18] _logic_iterate0.setProperty(weblogic.utils.StringUtils.valueOf("scoreInfoCol")); //[ /scoreInfo.jsp; Line: 18] _int1 = _logic_iterate0.doStartTag(); //[ /scoreInfo.jsp; Line: 18] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 18] if (_int1 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /scoreInfo.jsp; Line: 18] if (_int1 == BodyTag.EVAL_BODY_BUFFERED) { //[ /scoreInfo.jsp; Line: 18] out = pageContext.pushBody(); //[ /scoreInfo.jsp; Line: 18] _logic_iterate0.setBodyContent((BodyContent)out); //[ /scoreInfo.jsp; Line: 18] _logic_iterate0.doInitBody(); //[ /scoreInfo.jsp; Line: 18] } //[ /scoreInfo.jsp; Line: 18] try { // _logic_iterate0 popBody() try/finally.. //[ /scoreInfo.jsp; Line: 18] do { //[ /scoreInfo.jsp; Line: 18] /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /scoreInfo.jsp; Line: 18] /*** declare & sync NESTED TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 18] java.lang.Object item = null; //[ /scoreInfo.jsp; Line: 18] item = (java.lang.Object)pageContext.findAttribute("item"); //[ /scoreInfo.jsp; Line: 18] out.print("\r\n <tr><td>"); //^%$__TAG_CODEGEN : begin write custom tag block... //[ /scoreInfo.jsp; Line: 19] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 19] if (_bean_write0 == null) _bean_write0 = new org.apache.struts.taglib.bean.WriteTag(); //[ /scoreInfo.jsp; Line: 19] _bean_write0.setPageContext(pageContext); //[ /scoreInfo.jsp; Line: 19] _bean_write0.setParent((javax.servlet.jsp.tagext.Tag)_logic_iterate0); //[ /scoreInfo.jsp; Line: 19] _activeTag = _bean_write0; //[ /scoreInfo.jsp; Line: 19] _bean_write0.setName(weblogic.utils.StringUtils.valueOf("item")); //[ /scoreInfo.jsp; Line: 19] _bean_write0.setProperty(weblogic.utils.StringUtils.valueOf("courseName")); //[ /scoreInfo.jsp; Line: 19] _int2 = _bean_write0.doStartTag(); //[ /scoreInfo.jsp; Line: 19] if (_int2 == BodyTag.EVAL_BODY_BUFFERED) { //[ /scoreInfo.jsp; Line: 19] throw new JspTagException("Since tag class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /scoreInfo.jsp; Line: 19] } //[ /scoreInfo.jsp; Line: 19] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 19] _int2 = _bean_write0.doEndTag(); //[ /scoreInfo.jsp; Line: 19] if (_int2 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_write0); return; } //[ /scoreInfo.jsp; Line: 19] _activeTag = _bean_write0.getParent(); _bean_write0.release(); //[ /scoreInfo.jsp; Line: 19] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 19] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 19] out.print("</td>\r\n <td>"); //^%$__TAG_CODEGEN : begin write custom tag block... //[ /scoreInfo.jsp; Line: 20] /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 20] if (_bean_write0 == null) _bean_write0 = new org.apache.struts.taglib.bean.WriteTag(); //[ /scoreInfo.jsp; Line: 20] _bean_write0.setPageContext(pageContext); //[ /scoreInfo.jsp; Line: 20] _bean_write0.setParent((javax.servlet.jsp.tagext.Tag)_logic_iterate0); //[ /scoreInfo.jsp; Line: 20] _activeTag = _bean_write0; //[ /scoreInfo.jsp; Line: 20] _bean_write0.setName(weblogic.utils.StringUtils.valueOf("item")); //[ /scoreInfo.jsp; Line: 20] _bean_write0.setProperty(weblogic.utils.StringUtils.valueOf("courseScore")); //[ /scoreInfo.jsp; Line: 20] _int2 = _bean_write0.doStartTag(); //[ /scoreInfo.jsp; Line: 20] if (_int2 == BodyTag.EVAL_BODY_BUFFERED) { //[ /scoreInfo.jsp; Line: 20] throw new JspTagException("Since tag class org.apache.struts.taglib.bean.WriteTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /scoreInfo.jsp; Line: 20] } //[ /scoreInfo.jsp; Line: 20] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 20] _int2 = _bean_write0.doEndTag(); //[ /scoreInfo.jsp; Line: 20] if (_int2 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_write0); return; } //[ /scoreInfo.jsp; Line: 20] _activeTag = _bean_write0.getParent(); _bean_write0.release(); //[ /scoreInfo.jsp; Line: 20] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 20] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 20] out.print("</td>\r\n </tr>\r\n "); //^%$__TAG_CODEGEN //[ /scoreInfo.jsp; Line: 22] } while (_logic_iterate0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /scoreInfo.jsp; Line: 22] } finally { // _logic_iterate0 popBody() finally... //[ /scoreInfo.jsp; Line: 22] if (_int1 == BodyTag.EVAL_BODY_BUFFERED) out = pageContext.popBody(); //[ /scoreInfo.jsp; Line: 22] } //[ /scoreInfo.jsp; Line: 22] } // end !SKIP_BODY //[ /scoreInfo.jsp; Line: 22] if (_logic_iterate0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_logic_iterate0); return; } //[ /scoreInfo.jsp; Line: 22] _activeTag = _logic_iterate0.getParent(); _logic_iterate0.release(); //[ /scoreInfo.jsp; Line: 22] //end iterate custom tag.... //[ /scoreInfo.jsp; Line: 22] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 22] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 22] _writeText(response, out, _wl_block2, _wl_block2Bytes); //^%$__TAG_CODEGEN //[ /scoreInfo.jsp; Line: 27] } while (_html_form0.doAfterBody() == IterationTag.EVAL_BODY_AGAIN); //[ /scoreInfo.jsp; Line: 27] } // end !SKIP_BODY //[ /scoreInfo.jsp; Line: 27] if (_html_form0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_form0); return; } //[ /scoreInfo.jsp; Line: 27] _activeTag = _html_form0.getParent(); _html_form0.release(); //[ /scoreInfo.jsp; Line: 27] //end form custom tag.... //[ /scoreInfo.jsp; Line: 27] /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 27] /*** declare & sync AT_END TagExtra Vars here ***/ //[ /scoreInfo.jsp; Line: 27] _writeText(response, out, _wl_block3, _wl_block3Bytes); } 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...
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -