资源简介
本文采用JSP和MS SQL-Server等软件为开发工具,以Windows XP(或Windows 2000)为开发平台,设计出一个学籍管理信息系统,对学生的信息、课程、成绩进行统一管理,便于查询、修改和删除。涉及到的主要内容有:体系结构规划、设计平台的搭建以及系统的设计。主要实现的功能模块有管理系统的功能介绍子系统、新生入学子系统、学生成绩管理子系统、在校学生管理子系统、离校学生管理子系统、各种信息查询子系统以及系统维护子系统。
代码片段和文件信息
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class addform_0002ejsp_jsp extends HttpJspbase {
static {
}
public addform_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
““ true 8192 true);
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
// HTML // begin [file=“/addform.jsp“;from=(049);to=(10)]
out.write(“\r\n“);
// end
// HTML // begin [file=“/addform.jsp“;from=(131);to=(202)]
out.write(“\r\n\r\n\r\n ript language=\“javascript\“>\r\n function checkform() {\r\n\tif (document.add.stu_name.value==\“\“ || document.add.stu_id.value==\“\“|| document.add.stu_password.value==\“\“|| document.add.sex.value==\“\“|| document.add.dept.value==\“\“|| document.add.mz.value==\“\“|| document.add.zzmm.value==\“\“){\r\n\t\talert(\“请输入完整信息!\“);\r\n\t\treturn false;\r\n\t}\r\n\telse {\r\n\t\talert(\“添加成功!\“);\r\n\t\treturn true;\r\n\t}\r\n }\r\n ript>\r\n\r\n\r\n\r\n\r\n “);
// end
// begin [file=“/addform.jsp“;from=(204);to=(2045)]
request.setCharacterEncoding(“gb2312“);
// end
// HTML // begin [file=“/addform.jsp“;from=(2047);to=(730)]
out.write(“\r\n\r\ntle>\r\n添加学生纪录\r\n tle>\r\n\r\n\r\n