⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 student_0002ejsp_jsp.java

📁 一个完整的学生管理系统
💻 JAVA
字号:
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class student_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public student_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.jsp", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/student.jsp";from=(0,113);to=(7,2)]
                out.write("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n<body bgcolor=\"#0099FF\" text=\"#00FF00\" link=\"#CCFF00\">  \r\n<p>\r\n  ");

            // end
            // begin [file="/student.jsp";from=(7,4);to=(11,0)]
                
                String id = (String)session.getAttribute("id");
                
                //if(stu_id==null){response.sendRedirect("login.jsp");}                                 
            // end
            // HTML // begin [file="/student.jsp";from=(11,2);to=(18,37)]
                out.write("\r\n  <font size=\"+2\" face=\"华文行楷\">您已经成功通过验证! 您可以使用如下服务:</font> </p>\r\n<p>&nbsp;</p>\r\n<p>&nbsp;</p>\r\n<table width=\"58%\"  border=\"0\" align=\"center\">\r\n  <tr> \r\n    <td><a href=\"DisplayCourse.jsp\">选修课程</a></td>\r\n    <td><a href=\"StudentLoginSvlt?id=");

            // end
            // begin [file="/student.jsp";from=(18,40);to=(18,42)]
                out.print(id);
            // end
            // HTML // begin [file="/student.jsp";from=(18,44);to=(24,7)]
                out.write("&action=checkmark\">察看学分</a></td>\r\n    <td><a href=\"updateinformation.jsp\">更改信息</a></td>\r\n  </tr>\r\n</table>\r\n<p>&nbsp;</p><p>&nbsp;</p><p><a href=\"login_confirm?action=logout\">&lt;&lt;注销 </a></p>\r\n</body>\r\n</html>");

            // 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);
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -