📄 tquerysuccessbak_jsp.java
字号:
package org.apache.jsp.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class tQuerySuccessBak_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; charset=GBK");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, 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<html>\r\n<head>\r\n<title>tQuerySuccess</title>\r\n</head>\r\n<body bgcolor=\"#ffffff\">\r\n<h1>恭喜您:查询成功</h1>\r\n");
stumanage.beans.ScoreInfo scoreInfo = null;
synchronized (session) {
scoreInfo = (stumanage.beans.ScoreInfo) _jspx_page_context.getAttribute("scoreInfo", PageContext.SESSION_SCOPE);
if (scoreInfo == null){
throw new java.lang.InstantiationException("bean scoreInfo not found within scope");
}
}
out.write("\r\n<center> <center>共查询到记录数:");
out.print( scoreInfo.getRow() );
out.write("</center>\r\n");
int i = 0;
out.write("\r\n <table border=\"1\">\r\n <tr>\r\n <th align=\"center\"> 学 号 </th>\r\n <th align=\"center\"> 姓 名 </th>\r\n <th align=\"center\"> 课 题 </th>\r\n <th align=\"center\"> 分 数 </th>\r\n\r\n </tr>\r\n ");
while(i<scoreInfo.getRow()) {
out.write("\r\n <tr>\r\n\r\n <td>");
out.print(scoreInfo.getSNo(i) );
out.write("</td>\r\n <td>");
out.print(scoreInfo.getSName(i) );
out.write("</td>\r\n <td>");
out.print( scoreInfo.getSubject(i) );
out.write("</td>\r\n <td>");
out.print( scoreInfo.getScore(i) );
out.write("</td>\r\n\r\n </tr>\r\n ");
i++;}
out.write("\r\n </table>\r\n</center>\r\n</body>\r\n</html>\r\n");
} 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 + -