📄 marking_0002ejsp_jsp.java
字号:
import java.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
public class marking_0002ejsp_jsp extends HttpJspBase {
static {
}
public marking_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="/marking.jsp";from=(0,113);to=(3,0)]
out.write("\r\n<html>\t\r\n<body bgcolor=\"#0099FF\">\r\n");
// end
// begin [file="/marking.jsp";from=(3,2);to=(6,0)]
String stu_id=request.getParameter("stu_id");
String class_id=request.getParameter("class_id");
// end
// HTML // begin [file="/marking.jsp";from=(6,2);to=(11,40)]
out.write("\r\n <p> </p>\r\n<p align=\"center\"><font color=\"#00FF00\" size=\"+3\" face=\"方正舒体\">学生成绩</font></p>\r\n<form method=\"post\" action=\"MarkSvlt\">\r\n <input type=\"hidden\" name=\"action\" value=\"marking\">\r\n <input type=\"hidden\" name=\"id\" value=\"");
// end
// begin [file="/marking.jsp";from=(11,43);to=(11,49)]
out.print(stu_id);
// end
// HTML // begin [file="/marking.jsp";from=(11,51);to=(12,46)]
out.write("\">\r\n <input type=\"hidden\" name=\"class_id\" value=\"");
// end
// begin [file="/marking.jsp";from=(12,49);to=(12,57)]
out.print(class_id);
// end
// HTML // begin [file="/marking.jsp";from=(12,59);to=(19,10)]
out.write("\">\r\n <table width=\"75%\" border=\"1\" align=\"center\">\r\n <tr> \r\n <td width=\"41%\">学生号</td>\r\n <td width=\"59%\">成绩</td>\r\n </tr>\r\n <tr> \r\n <td>");
// end
// begin [file="/marking.jsp";from=(19,13);to=(19,19)]
out.print(stu_id);
// end
// HTML // begin [file="/marking.jsp";from=(19,21);to=(30,0)]
out.write("</td>\r\n <td><input name=\"score\" type=\"text\" id=\"score\"></td>\r\n </tr>\r\n </table>\r\n <p> </p>\r\n <div align=\"center\">\r\n <input type=\"submit\" name=\"Submit\" value=\"提交\">\r\n </div>\r\n</form>\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 + -