【Java开源代码栏目提醒】:以下是网学会员为您推荐的Java开源代码-__classinfo.java,希望本篇文章对您学习有所帮助。
/* compiled from JSP: /classInfo.jsp
*
* This code was automatically generated at 21:42:56 on 2004-11-11
* by weblogic.servlet.jsp.Jsp2
Java -- 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:42:57 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 __classinfo
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("/classInfo.jsp", 1099399010171L, "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("/classInfo.jsp", 1099399010171L, "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<html>\r\n<head>\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=\"80%\" border=\"1\">\r\n <tr><td>
课程班名称</td>\r\n <td>";
private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1);
private final static String _wl_block2 = "</td>\r\n </tr>\r\n <tr><td>学制</td>\r\n <td>";
private final static byte[] _wl_block2Bytes = _getBytes(_wl_block2);
private final static String _wl_block3 = "</td>\r\n </tr>\r\n <tr><td>学费(元)</td>\r\n <td>";
private final static byte[] _wl_block3Bytes = _getBytes(_wl_block3);
private final static String _wl_block4 = "</td>\r\n </tr>\r\n <tr><td>开课时间</td>\r\n <td>";
private final static byte[] _wl_block4Bytes = _getBytes(_wl_block4);
private final static String _wl_block5 = "</td>\r\n </tr>\r\n <tr><td>备注</td>\r\n <td>";
private final static byte[] _wl_block5Bytes = _getBytes(_wl_block5);
private final static String _wl_block6 = "</td>\r\n </tr>\r\n </table>\r\n ";
private final static byte[] _wl_block6Bytes = _getBytes(_wl_block6);
private final static String _wl_block7 = "\r\n</body>\r\n</html>\r\n";
private final static byte[] _wl_block7Bytes = _getBytes(_wl_block7);
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 variable