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

📄 updateinformation_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 updateinformation_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public updateinformation_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="/updateinformation.jsp";from=(0,109);to=(9,4)]
                out.write("\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>更新信息</title>\r\n</head>\r\n<body bgcolor=\"#0099FF\" text=\"#FFFFFF\">\r\n<div align=\"center\">\r\n  <p>\r\n    ");

            // end
            // begin [file="/updateinformation.jsp";from=(9,6);to=(12,0)]
                
                String stu_id = (String)session.getAttribute("id");
                if(stu_id==null){response.sendRedirect("login.jsp");} 
            // end
            // HTML // begin [file="/updateinformation.jsp";from=(12,2);to=(18,41)]
                out.write("\r\n    <font color=\"#00FF00\" size=\"+3\" face=\"方正舒体\">更改您的个人信息 </font></p>\r\n  <p>&nbsp; </p>\r\n</div>\r\n<form name=\"form1\" method=\"post\" action=\"StudentLoginSvlt\">\r\n  <input type=\"hidden\" name=\"action\" value=\"update\">\r\n   <input type=\"hidden\" name=\"id\" value=\"");

            // end
            // begin [file="/updateinformation.jsp";from=(18,44);to=(18,50)]
                out.print(stu_id);
            // end
            // HTML // begin [file="/updateinformation.jsp";from=(18,52);to=(48,0)]
                out.write("\">\r\n  <table width=\"55%\"  border=\"1\" align=\"center\">\r\n    <tr>\r\n      <td>新密码:</td>\r\n      <td><input name=\"password1\" type=\"password\" id=\"password1\"></td>\r\n    </tr>\r\n    <tr> \r\n      <td width=\"42%\">确认:</td>\r\n      <td width=\"58%\"> <input name=\"password2\" type=\"password\" id=\"password2\" > </td>\r\n    </tr>\r\n    <tr> \r\n      <td>电话:</td>\r\n      <td> <input name=\"tel\" type=\"text\" id=\"tel2\"> </td>\r\n    </tr>\r\n    <tr> \r\n      <td>E_mail:</td>\r\n      <td> <input name=\"e_mail\" type=\"text\" > </td>\r\n    </tr>\r\n  </table>\r\n  <p align=\"center\">\r\n    <label></label>\r\n  </p>\r\n  <p align=\"center\">&nbsp;</p>\r\n  <p align=\"center\">\r\n    <input type=\"submit\" name=\"Submit\" value=\"提交\">\r\n  </p>\r\n</form>\r\n<a href=\"student.jsp\">&lt;&lt;Back </a> \r\n</body>\r\n</html>\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);
        }
    }
}

⌨️ 快捷键说明

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