一个完整的学生管理系统

源代码在线查看: addteacher_0002ejsp_jsp.java

软件大小: 202 K
上传用户: houlong111
关键词: 管理系统
下载地址: 免注册下载 普通下载 VIP

相关代码

				import java.sql.*;
				import javax.servlet.*;
				import javax.servlet.http.*;
				import javax.servlet.jsp.*;
				import org.apache.jasper.runtime.*;
				
				
				public class addteacher_0002ejsp_jsp extends HttpJspBase {
				
				
				    static {
				    }
				    public addteacher_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="/addteacher.jsp";from=(0,113);to=(8,2)]
				                out.write("\r\n\r\n\r\n\r\n增加教师\r\n\r\n\r\n\r\n  ");
				
				            // end
				            // begin [file="/addteacher.jsp";from=(8,4);to=(11,0)]
				                
				                String admin_id = (String)session.getAttribute("id"); 
				                if(admin_id==null){response.sendRedirect("login.jsp");}         
				            // end
				            // HTML // begin [file="/addteacher.jsp";from=(11,2);to=(51,0)]
				                out.write("\r\n\r\n新增教师\r\n\r\n\r\n   \r\n  \r\n    \r\n       \r\n        教师姓名\r\n        \r\n      \r\n       \r\n        教师号\r\n        \r\n      \r\n       \r\n        密码\r\n        \r\n      \r\n       \r\n        职称\r\n        \r\n            讲师\r\n            教授\r\n          \r\n      \r\n    \r\n    \r\n      \r\n    \r\n  \r\n  \r\n\r\n \r\n<<Back\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);
				        }
				    }
				}
							

相关资源