一个完整的学生管理系统
源代码在线查看: teacher_0002ejsp_jsp.java
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class teacher_0002ejsp_jsp extends HttpJspBase {
static {
}
public teacher_0002ejsp_jsp( ) {
}
private static boolean _jspx_inited = false;
public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
String _value = null;
try {
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
_jspx_init();
_jspx_inited = true;
}
}
}
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"errorpage", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/teacher.jsp";from=(0,109);to=(3,0)]
out.write("\r\n\t\r\n\r\n");
// end
// begin [file="/teacher.jsp";from=(3,2);to=(5,0)]
String tea_id=(String)session.getAttribute("id");
// end
// HTML // begin [file="/teacher.jsp";from=(5,2);to=(7,39)]
out.write("\r\n您已经成功登陆,请您选择以下功能:\r\n
// end
// begin [file="/teacher.jsp";from=(7,42);to=(7,48)]
out.print(tea_id);
// end
// HTML // begin [file="/teacher.jsp";from=(7,50);to=(8,23)]
out.write("&action=choosestu\">挑选您的学生>> \r\n
// end
// begin [file="/teacher.jsp";from=(8,26);to=(8,32)]
out.print(tea_id);
// end
// HTML // begin [file="/teacher.jsp";from=(8,34);to=(15,0)]
out.write("&action=public\">公布成绩>> \r\n\r\n \r\n \r\n<<注销 \r\n\r\n\r\n");
// end
} catch (Throwable t) {
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (pageContext != null) pageContext.handlePageException(t);
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
}
}
}