?? insertstu_jsp.java
字號:
package org.apache.jsp.menager;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.sql.*;
public final class insertstu_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
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;
JspWriter _jspx_out = null;
PageContext _jspx_page_context = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html; charset=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n");
out.write("<title>網上作業提交系統</title>\r\n");
out.write("<style type=\"text/css\">\r\n");
out.write("\r\n");
out.write("A {\r\n");
out.write("\tCOLOR: #003366; TEXT-DECORATION: none\r\n");
out.write("}\r\n");
out.write("A:hover {\r\n");
out.write("\tTEXT-DECORATION: underline\r\n");
out.write("}\r\n");
out.write("BODY {\r\n");
out.write("\tFONT-SIZE: 12px; SCROLLBAR-ARROW-COLOR: #698cc3; SCROLLBAR-BASE-COLOR: #f8f8f8; BACKGROUND-COLOR: #9eb6d8\r\n");
out.write("}\r\n");
out.write("TABLE {\r\n");
out.write("\tFONT: 12px Tahoma, Verdana; COLOR: #000000\r\n");
out.write("}\r\n");
out.write("INPUT {\r\n");
out.write("\tFONT: 11px Tahoma, Verdana; COLOR: #000000; BACKGROUND-COLOR: #f8f8f8\r\n");
out.write("}\r\n");
out.write("SELECT {\r\n");
out.write("\tFONT: 11px Tahoma, Verdana; COLOR: #000000; BACKGROUND-COLOR: #f8f8f8\r\n");
out.write("}\r\n");
out.write("TEXTAREA {\r\n");
out.write("\tFONT: 11px Tahoma, Verdana; COLOR: #000000; BACKGROUND-COLOR: #f8f8f8\r\n");
out.write("}\r\n");
out.write("FORM {\r\n");
out.write("\tPADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px\r\n");
out.write("SELECT {\r\n");
out.write("\tFONT: 11px Arial, Tahoma; COLOR: #000000; BACKGROUND-COLOR: #f8f8f8\r\n");
out.write("}\r\n");
out.write(".nav {\r\n");
out.write("\tFONT: bold 12px Tahoma, Verdana; COLOR: #000000\r\n");
out.write("}\r\n");
out.write(".nav A {\r\n");
out.write("\tCOLOR: #000000\r\n");
out.write("}\r\n");
out.write(".header {\r\n");
out.write("\tFONT: bold 11px Tahoma, Verdana; COLOR: #ffffff; BACKGROUND-COLOR: #698cc3\r\n");
out.write("}\r\n");
out.write(".header A {\r\n");
out.write("\tCOLOR: #ffffff\r\n");
out.write("}\r\n");
out.write(".category {\r\n");
out.write("\tFONT: 11px Arial, Tahoma; COLOR: #000000; BACKGROUND-COLOR: #efefef\r\n");
out.write("}\r\n");
out.write(".tableborder {\r\n");
out.write("\tBORDER-RIGHT: #698cc3 1px solid; BORDER-TOP: #698cc3 1px solid; BACKGROUND: #d6e0ef; BORDER-LEFT: #698cc3 1px solid; BORDER-BOTTOM: #698cc3 1px solid\r\n");
out.write("}\r\n");
out.write(".singleborder {\r\n");
out.write("\tPADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 0px; PADDING-BOTTOM: 0px; LINE-HEIGHT: 1px; PADDING-TOP: 0px; BACKGROUND-COLOR: #f8f8f8\r\n");
out.write("}\r\n");
out.write(".smalltxt {\r\n");
out.write("\tFONT: 11px Arial, Tahoma\r\n");
out.write("}\r\n");
out.write(".outertxt {\r\n");
out.write("\tFONT: 12px Tahoma, Verdana; COLOR: #000000\r\n");
out.write("}\r\n");
out.write(".outertxt A {\r\n");
out.write("\tCOLOR: #000000\r\n");
out.write("}\r\n");
out.write(".bold {\r\n");
out.write("\tFONT-WEIGHT: bold\r\n");
out.write("}\r\n");
out.write(".altbg1 {\r\n");
out.write("\tBACKGROUND: #f8f8f8\r\n");
out.write("}\r\n");
out.write(".altbg2 {\r\n");
out.write("\tBACKGROUND: #ffffff\r\n");
out.write("}\r\n");
out.write(".maintable {\r\n");
out.write("\tWIDTH: 98%; BACKGROUND-COLOR: #ffffff\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("</style>\r\n");
out.write("</head>\r\n");
out.write("<BODY leftMargin=0 topMargin=0 rightMargin=0>\r\n");
out.write("\r\n");
out.write("<CENTER>\r\n");
out.write("\r\n");
out.write("<DIV class=maintable>\r\n");
out.write("\r\n");
out.write("<TABLE class=tableborder cellSpacing=1 cellPadding=4 width=\"98%\" align=center>\r\n");
out.write(" <TBODY>\r\n");
out.write(" <TR class=header>\r\n");
out.write(" <TD>學生錄入</TD></TR>\r\n");
out.write(" </TBODY></TABLE><BR></DIV>\r\n");
out.write("<DIV class=maintable>\r\n");
out.write("<form id=\"form1\" name=\"form1\" method=\"post\" action=\"/homwork/insertnewsubject\">\r\n");
out.write("<TABLE class=tableborder cellSpacing=1 cellPadding=4 width=\"98%\" align=center>\r\n");
out.write(" <TBODY>\r\n");
out.write(" \r\n");
out.write(" \r\n");
out.write(" <tr bgcolor=\"#FFFFFF\">\r\n");
out.write(" <td width=\"55\">學號</td>\r\n");
out.write(" <td width=\"168\"><input name=\"stuNo\" type=\"text\" id=\"stuNo\" /></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#FFFFFF\">\r\n");
out.write(" <td>姓名</td>\r\n");
out.write(" <td><input name=\"stuName\" type=\"text\" id=\"stuName\" /></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#FFFFFF\">\r\n");
out.write(" <td>班級</td>\r\n");
out.write(" <td><input name=\"classes\" type=\"text\" id=\"classes\" /></td>\r\n");
out.write(" </tr>\r\n");
out.write(" <tr bgcolor=\"#FFFFFF\">\r\n");
out.write(" <td><input name=\"inserts\" type=\"submit\" id=\"inserts\" value=\"錄入\" /></td>\r\n");
out.write(" <td><input type=\"reset\" name=\"Submit2\" value=\"重置\" /></td>\r\n");
out.write(" </tr>\r\n");
out.write(" </TBODY></TABLE>\r\n");
out.write("<BR>\r\n");
out.write("\r\n");
out.write("</form></DIV>\r\n");
out.write("\r\n");
out.write("</CENTER><BR></BODY></HTML>");
} catch (Throwable t) {
if (!(t instanceof SkipPageException)){
out = _jspx_out;
if (out != null && out.getBufferSize() != 0)
out.clearBuffer();
if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
}
} finally {
if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -