📄 _students_0detal__jsp.java
字号:
/*
* JSP generated by Resin-3.1.1 (built Mon, 07 May 2007 09:32:40 PDT)
*/
package _jsp._admin;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.Date;
public class _students_0detal__jsp extends com.caucho.jsp.JavaPage
{
private static final java.util.HashMap<String,java.lang.reflect.Method> _jsp_functionMap = new java.util.HashMap<String,java.lang.reflect.Method>();
private boolean _caucho_isDead;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
javax.servlet.http.HttpSession session = request.getSession(true);
com.caucho.server.webapp.WebApp _jsp_application = _caucho_getApplication();
javax.servlet.ServletContext application = _jsp_application;
com.caucho.jsp.PageContextImpl pageContext = com.caucho.jsp.QJspFactory.allocatePageContext(this, _jsp_application, request, response, null, session, 8192, true, false);
javax.servlet.jsp.JspWriter out = pageContext.getOut();
final javax.el.ELContext _jsp_env = pageContext.getELContext();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
response.setContentType("text/html;charset=GB2312");
request.setCharacterEncoding("GB2312");
try {
out.write(_jsp_string0, 0, _jsp_string0.length);
String gestnam = (String) session.getAttribute("name");
String gestpsw = (String) session.getAttribute("password");
if("".equals(gestnam)||gestnam==null & "".equals(gestpsw)||gestpsw==null)
{
response.sendRedirect("..//index.jsp");
}
out.write(_jsp_string1, 0, _jsp_string1.length);
admin.dbcont dbcon;
dbcon = (admin.dbcont) pageContext.getAttribute("dbcon");
if (dbcon == null) {
dbcon = new admin.dbcont();
pageContext.setAttribute("dbcon", dbcon);
}
out.write(_jsp_string2, 0, _jsp_string2.length);
String strtxt=request.getParameter("detail");
dbcon.getcon();
ResultSet rs;
rs=dbcon.stmt.executeQuery("select student_name,sex,nationality,Student_Id,Birth,family_place,"
+"id_card,home_phone,residence,postcode,InDate,class_name,studentpsw from students,classes where "
+" students.Class_Id=classes.Class_Id "
+" and Student_Id='"+strtxt+"'");
rs.next();
out.write(_jsp_string3, 0, _jsp_string3.length);
out.print((rs.getString("Student_Name")));
out.write(_jsp_string4, 0, _jsp_string4.length);
out.print((rs.getString("Sex")));
out.write(_jsp_string5, 0, _jsp_string5.length);
out.print((rs.getString("Nationality")));
out.write(_jsp_string6, 0, _jsp_string6.length);
out.print((rs.getString("Student_Id")));
out.write(_jsp_string7, 0, _jsp_string7.length);
out.print((rs.getString("Birth")));
out.write(_jsp_string8, 0, _jsp_string8.length);
out.print((rs.getString("Family_Place")));
out.write(_jsp_string9, 0, _jsp_string9.length);
out.print((rs.getString("Id_Card")));
out.write(_jsp_string10, 0, _jsp_string10.length);
out.print((rs.getString("Home_phone")));
out.write(_jsp_string11, 0, _jsp_string11.length);
out.print((rs.getString("Residence")));
out.write(_jsp_string12, 0, _jsp_string12.length);
out.print((rs.getString("Postcode")));
out.write(_jsp_string13, 0, _jsp_string13.length);
out.print((rs.getDate("InDate")));
out.write(_jsp_string14, 0, _jsp_string14.length);
out.print((rs.getString("Class_Name")));
out.write(_jsp_string15, 0, _jsp_string15.length);
out.print((rs.getString("StudentPsw")));
out.write(_jsp_string16, 0, _jsp_string16.length);
rs.close();
dbcon.close();
out.write(_jsp_string17, 0, _jsp_string17.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
com.caucho.jsp.QJspFactory.freePageContext(pageContext);
}
}
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public java.util.ArrayList _caucho_getDependList()
{
return _caucho_depends;
}
public void _caucho_addDepend(com.caucho.vfs.PersistentDependency depend)
{
super._caucho_addDepend(depend);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, depend);
}
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.server.util.CauchoSystem.getVersionId() != -6891698089151209809L)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Dependency depend;
depend = (com.caucho.vfs.Dependency) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public java.util.HashMap<String,java.lang.reflect.Method> _caucho_getFunctionMap()
{
return _jsp_functionMap;
}
public void init(ServletConfig config)
throws ServletException
{
com.caucho.server.webapp.WebApp webApp
= (com.caucho.server.webapp.WebApp) config.getServletContext();
super.init(config);
com.caucho.jsp.TaglibManager manager = webApp.getJspApplicationContext().getTaglibManager();
com.caucho.jsp.PageContextImpl pageContext = new com.caucho.jsp.PageContextImpl(webApp, this);
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
}
public void init(com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.server.util.CauchoSystem.getResinHome();
com.caucho.vfs.MergePath mergePath = new com.caucho.vfs.MergePath();
mergePath.addMergePath(appDir);
mergePath.addMergePath(resinHome);
com.caucho.loader.DynamicClassLoader loader;
loader = (com.caucho.loader.DynamicClassLoader) getClass().getClassLoader();
String resourcePath = loader.getResourcePathSpecificFirst();
mergePath.addClassPath(resourcePath);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("admin/students_detal.jsp"), -4059074545816580096L, false);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, depend);
}
private final static char []_jsp_string2;
private final static char []_jsp_string0;
private final static char []_jsp_string4;
private final static char []_jsp_string3;
private final static char []_jsp_string9;
private final static char []_jsp_string1;
private final static char []_jsp_string14;
private final static char []_jsp_string7;
private final static char []_jsp_string8;
private final static char []_jsp_string6;
private final static char []_jsp_string17;
private final static char []_jsp_string16;
private final static char []_jsp_string10;
private final static char []_jsp_string12;
private final static char []_jsp_string13;
private final static char []_jsp_string11;
private final static char []_jsp_string15;
private final static char []_jsp_string5;
static {
_jsp_string2 = "\r\n ".toCharArray();
_jsp_string0 = "\r\n\r\n\r\n".toCharArray();
_jsp_string4 = "</td>\r\n <td width=\"143\"> \u6027 \u522b:".toCharArray();
_jsp_string3 = "\r\n</form>\r\n<center>\r\n <table width=\"557\" height=\"169\" border=\"1\" cellpadding=\"1\" cellspacing=\"1\">\r\n <tr>\r\n <td width=\"166\" height=\"34\">\u59d3\u540d:".toCharArray();
_jsp_string9 = "</td>\r\n </tr>\r\n <tr>\r\n <td height=\"26\" colspan=\"2\"> \u8eab\u4efd\u8bc1\u53f7:".toCharArray();
_jsp_string1 = "\r\n\r\n<html>\r\n \r\n\r\n<head>\r\n <title></title>\r\n</head>\r\n<body>\r\n\r\n\r\n <form action=\"students_sch.jsp\" name=\"frm\" method=\"post\">\r\n <b><center>\r\n <font size=4 color=red>\u5b66\u751f\u8be6\u7ec6\u4fe1\u606f</font>\r\n <hr><br><b></center>\r\n".toCharArray();
_jsp_string14 = "</td>\r\n <td> \u73ed\u7ea7\u540d\u79f0:".toCharArray();
_jsp_string7 = "</td>\r\n <td> \u751f \u65e5:".toCharArray();
_jsp_string8 = "</td>\r\n <td> \u7c4d \u8d2f:".toCharArray();
_jsp_string6 = "</td>\r\n </tr>\r\n <tr>\r\n <td height=\"32\">\u5b66\u53f7:".toCharArray();
_jsp_string17 = "\r\n</p>\r\n <form name=\"form1\" method=\"post\" action=\"students_sch.jsp\">\r\n <input type=\"submit\" name=\"Submit\" value=\"\u8fd4\u56de\"> \r\n </form>\r\n <p> </p>\r\n</center>\r\n\r\n</body>\r\n</html>".toCharArray();
_jsp_string16 = "</td>\r\n </tr>\r\n </table>\r\n \r\n\r\n <p>\r\n ".toCharArray();
_jsp_string10 = "</td>\r\n <td> \u5bb6\u5ead\u7535\u8bdd:".toCharArray();
_jsp_string12 = "</td>\r\n <td> \u90ae\u653f\u7f16\u7801:".toCharArray();
_jsp_string13 = "</td>\r\n </tr>\r\n <tr>\r\n <td height=\"36\"> \u5165\u6821\u65e5\u671f:".toCharArray();
_jsp_string11 = "</td>\r\n </tr>\r\n <tr>\r\n <td height=\"33\" colspan=\"2\"> \u5bb6\u5ead\u5730\u5740: ".toCharArray();
_jsp_string15 = "</td>\r\n <td> \u5bc6\u7801:".toCharArray();
_jsp_string5 = "</td>\r\n <td width=\"182\"> \u6c11 \u65cf:".toCharArray();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -