import java.sql.*;
import java.util.*;
import proj112.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class grxx_0002ejsp_jsp extends HttpJspBase {
// begin [file="/grxx.jsp";from=(5,0);to=(5,57)]
// end
static {
}
public grxx_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=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file="/grxx.jsp";from=(0,48);to=(1,0)]
out.write("\r\n");
// end
// HTML // begin [file="/grxx.jsp";from=(1,31);to=(2,0)]
out.write("\r\n");
// end
// HTML // begin [file="/grxx.jsp";from=(2,27);to=(3,0)]
out.write("\r\n");
// end
// HTML // begin [file="/grxx.jsp";from=(3,32);to=(4,0)]
out.write("\r\n");
// end
// HTML // begin [file="/grxx.jsp";from=(4,30);to=(5,0)]
out.write("\r\n");
// end
// begin [file="/grxx.jsp";from=(5,0);to=(5,57)]
proj112.dbconn a = null;
boolean _jspx_speciala = false;
synchronized (pageContext) {
a= (proj112.dbconn)
pageContext.getAttribute("a",PageContext.PAGE_SCOPE);
if ( a == null ) {
_jspx_speciala = true;
try {
a = (proj112.dbconn) java.beans.Beans.instantiate(this.getClass().getClassLoader(), "proj112.dbconn");
} catch (ClassNotFoundException exc) {
throw new InstantiationException(exc.getMessage());
} catch (Exception exc) {
throw new ServletException (" Cannot create bean of class "+"proj112.dbconn", exc);
}
pageContext.setAttribute("a", a, PageContext.PAGE_SCOPE);
}
}
if(_jspx_speciala == true) {
// end
// begin [file="/grxx.jsp";from=(5,0);to=(5,57)]
}
// end
// HTML // begin [file="/grxx.jsp";from=(5,57);to=(18,3)]
out.write("\r\n<html>\r\n<head>\r\n <script language=\"javascript\">\r\n function c(){\r\n alert(\"保存成功!\");\r\n return true;\r\n }\r\n</script>\r\n<title>\r\n</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n ");
// end
// begin [file="/grxx.jsp";from=(18,5);to=(24,4)]
String sql="";
String xuehao=(String)session.getAttribute("id");
sql="SELECT * FROM student where stu_id='"+xuehao+"'";
ResultSet rs = a.executeQuery(sql);
if(rs.next()){
// end
// HTML // begin [file="/grxx.jsp";from=(24,6);to=(37,80)]
out.write("\r\n <pre>\r\n 学籍维护\r\n注意事项:\r\n1、所有需本人录入的信息必须实事求是,详尽细致,认真填写。\r\n2、不可录信息由学院维护。\r\n3、生日必须与身份证上的出生日期一致。\r\n4、从填写到提交的时间请勿过长(不超过20分钟为宜),一次不能填完请分多次提交。</pre>\r\n <hr>\r\n <form action=\"change_grxx.jsp\" method=\"POST\" name=\"form3\">\r\n<pre>基本信息(不可录入)<br>\r\n<TABLE width=\"80%\"style=\"BORDER-RIGHT: #cc9966 1px; BORDER-TOP: #cc9966 1px; BORDER-LEFT: #cc9966 1px; WIDTH: 100%; BORDER-BOTTOM: #cc9966 1px; BORDER-COLLAPSE: collapse; BACKGROUND-COLOR: white\"\r\nborderColor=#cc9966 cellSpacing=0 cellPadding=4 rules=all border=1>\r\n<tr><td width=\"10%\" align=\"center\"><pre>姓名:</td><td width=\"10%\" align=\"center\">");
// end
// begin [file="/grxx.jsp";from=(37,83);to=(37,108)]
out.print(rs.getString("stu_name") );
// end
// HTML // begin [file="/grxx.jsp";from=(37,110);to=(37,192)]
out.write("</td><td width=\"10%\" align=\"center\"><pre>学号:</td><td width=\"10%\" align=\"center\">");
// end
// begin [file="/grxx.jsp";from=(37,195);to=(37,218)]
out.print(rs.getString("stu_id") );
// end
// HTML // begin [file="/grxx.jsp";from=(37,220);to=(37,302)]
out.write("</td><td width=\"10%\" align=\"center\"><pre>性别:</td><td width=\"10%\" align=\"center\">");
// end
// begin [file="/grxx.jsp";from=(37,305);to=(37,325)]
out.print(rs.getString("sex") );
// end
// HTML // begin [file="/grxx.jsp";from=(37,327);to=(38,80)]
out.write("</td></tr>\r\n<tr><td width=\"10%\" align=\"center\"><pre>专业:</td><td width=\"10%\" align=\"center\">");
// end
// begin [file="/grxx.jsp";from=(38,83);to=(38,104)]
out.print(rs.getString("dept") );
// end
// HTML // begin [file="/grxx.jsp";from=(38,106);to=(38,188)]
out.write("</td><td width=\"10%\" align=\"center\"><pre>民族:</td><td width=\"10%\" align=\"center\">");
// end
// begin [file="/grxx.jsp";from=(38,191);to=(38,210)]
out.print(rs.getString("mz") );
// end
// HTML // begin [file="/grxx.jsp";from=(38,212);to=(38,296)]
out.write("</td><td width=\"10%\" align=\"center\"><pre>政治面貌:</td><td width=\"10%\" align=\"center\">");
// end
// begin [file="/grxx.jsp";from=(38,299);to=(38,320)]
out.print(rs.getString("zzmm") );
// end
// HTML // begin [file="/grxx.jsp";from=(38,322);to=(42,121)]
out.write("</td></tr>\r\n</table><br>\r\n<pre>基本信息<br>\r\n<table width=\"100%\" cellspacing=\"0\" cellpadding=\"4\" rules=\"all\" bordercolor=\"#CC9966\" border=\"1\" id=\"dg_rxkb\" style=\"background-color:White;border-color:#CC9966;border-width:1px;border-style:None;width:100%;border-collapse:collapse;\">\r\n<tr><td width=\"5%\" align=\"left\"><pre>曾用名:</td><td width=\"5%\" align=\"left\"><input type=\"text\" size=\"10\" name=\"zym\" value=\"");
// end
// begin [file="/grxx.jsp";from=(42,124);to=(42,143)]
out.print(rs.getString("zym")