【Java开源代码栏目提醒】:文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学会员整理了Java开源代码-__chooseoperation.java的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
/* compiled from JSP: /chooseOperation.jsp
*
* This code was automatically generated at 21:42:52 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:42:52 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 __chooseoperation
extends
weblogic.servlet.jsp.JspBase
implements weblogic.servlet.jsp.StaleIndicator
{
// 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("/chooseOperation.jsp", 1099465876609L, "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("/chooseOperation.jsp", 1099465876609L, "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<html>\r\n<head>\r\n<title>网上报名系统_首页</title>\r\n</head>\r\n<body bgcolor=\"#c0c0c0\">\r\n\r\n<div align=\"center\">\r\n<form method=\"post\" action=\"/chooseOperationServlet\">\r\n<table>\r\n<tr><td><a href=\"#\"></a><br/></td>\r\n</tr>\r\n<tr><td><a href=\"./logInAction.do\">登 入</a> \r\n <a href=\"./logInAction.do?event=quit\">退 出</a><br /><br/></td>\r\n</tr>\r\n<tr><td><a href=\"./enrollmentAction.do?event=new\" target=\"_self\">用户注册</a> <a href=\"./enrollmentAction.do?event=modify\" target=\"_self\">修改注册信息</a><br /><br /></td>\r\n</tr>\r\n<tr><td><a href=\"./signUpAction.do?event=new\" target=\"_self\">我要报名</a> <a href=\"./signUpAction.do?event=modify\" target=\"_self\">修改报名信息</a><br /><br/></td>\r\n</tr>\r\n<tr><td><a href=\"./inquireScoreAction.do\" target=\"_self\">成绩查询</a> <br/></td>\r\n</tr>\r\n<tr><td><pre>\r\n注意:1. 如果您还没有注册,请先注册。\r\n 2. 如果你已经报过名,则不能再次报名。\r\n 3. 如果对成绩查询的结果持有异议,请到招生办何时,并带上有效证件和20元的复查费。\r\n</pre>\r\n</td></tr>\r\n<tr><td>";
private final static byte[] _wl_block0Bytes = _getBytes(_wl_block0);
private final static String _wl_block1 = "\r\n</td></tr>\r\n</table>\r\n</form>\r\n</div>\r\n</body>\r\n</html>\r\n";
private final static byte[] _wl_block1Bytes = _getBytes(_wl_block1);
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
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);
String mess = (String)request.getAttribute("mess"); //[ /chooseOperation.jsp; Line: 29]
if (mess != null) //[ /chooseOperation.jsp; Line: 30]
out.println(mess); //[ /chooseOperation.jsp; Line: 31]
_writeText(response, out, _wl_block1, _wl_block1Bytes);
} catch (Throwable __ee) {
while (out != null && out != _originalOut) out = pageContext.popBody();
((weblogic.servlet.jsp.PageContextImpl)pageContext).handlePageException((Throwable)__ee);
}
//before final close brace...
}
}
上一篇:
__booklist.java
下一篇:
关于大学英语教学