📄 _students_0add__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_0add__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");
com.opensymphony.webwork.views.jsp.IfTag _jsp_IfTag_0 = null;
com.opensymphony.webwork.views.jsp.PropertyTag _jsp_PropertyTag_1 = null;
com.opensymphony.webwork.views.jsp.PropertyTag _jsp_PropertyTag_2 = null;
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);
if (_jsp_IfTag_0 == null) {
_jsp_IfTag_0 = new com.opensymphony.webwork.views.jsp.IfTag();
_jsp_IfTag_0.setPageContext(pageContext);
_jsp_IfTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_IfTag_0.setTest("fieldErrors['Student_Id']!= null");
int _jspEval2 = _jsp_IfTag_0.doStartTag();
if (_jspEval2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
out.write(_jsp_string2, 0, _jsp_string2.length);
if (_jsp_PropertyTag_1 == null) {
_jsp_PropertyTag_1 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_1.setPageContext(pageContext);
_jsp_PropertyTag_1.setParent((javax.servlet.jsp.tagext.Tag) _jsp_IfTag_0);
}
_jsp_PropertyTag_1.setValue("fieldErrors['Student_Id']");
_jsp_PropertyTag_1.doStartTag();
out.write(_jsp_string3, 0, _jsp_string3.length);
}
_jsp_IfTag_0.doEndTag();
out.write(_jsp_string4, 0, _jsp_string4.length);
if (_jsp_IfTag_0 == null) {
_jsp_IfTag_0 = new com.opensymphony.webwork.views.jsp.IfTag();
_jsp_IfTag_0.setPageContext(pageContext);
_jsp_IfTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_IfTag_0.setTest("fieldErrors['Student_Name']!= null");
int _jspEval10 = _jsp_IfTag_0.doStartTag();
if (_jspEval10 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
out.write(_jsp_string2, 0, _jsp_string2.length);
if (_jsp_PropertyTag_1 == null) {
_jsp_PropertyTag_1 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_1.setPageContext(pageContext);
_jsp_PropertyTag_1.setParent((javax.servlet.jsp.tagext.Tag) _jsp_IfTag_0);
}
_jsp_PropertyTag_1.setValue("fieldErrors['Student_Name']");
_jsp_PropertyTag_1.doStartTag();
out.write(_jsp_string3, 0, _jsp_string3.length);
}
_jsp_IfTag_0.doEndTag();
out.write(_jsp_string4, 0, _jsp_string4.length);
if (_jsp_IfTag_0 == null) {
_jsp_IfTag_0 = new com.opensymphony.webwork.views.jsp.IfTag();
_jsp_IfTag_0.setPageContext(pageContext);
_jsp_IfTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_IfTag_0.setTest("fieldErrors['StudentPsw']!= null");
int _jspEval18 = _jsp_IfTag_0.doStartTag();
if (_jspEval18 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
out.write(_jsp_string2, 0, _jsp_string2.length);
if (_jsp_PropertyTag_1 == null) {
_jsp_PropertyTag_1 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_1.setPageContext(pageContext);
_jsp_PropertyTag_1.setParent((javax.servlet.jsp.tagext.Tag) _jsp_IfTag_0);
}
_jsp_PropertyTag_1.setValue("fieldErrors['StudentPsw']");
_jsp_PropertyTag_1.doStartTag();
out.write(_jsp_string3, 0, _jsp_string3.length);
}
_jsp_IfTag_0.doEndTag();
out.write(_jsp_string4, 0, _jsp_string4.length);
if (_jsp_IfTag_0 == null) {
_jsp_IfTag_0 = new com.opensymphony.webwork.views.jsp.IfTag();
_jsp_IfTag_0.setPageContext(pageContext);
_jsp_IfTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_IfTag_0.setTest("fieldErrors['Sex']!= null");
int _jspEval26 = _jsp_IfTag_0.doStartTag();
if (_jspEval26 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
out.write(_jsp_string2, 0, _jsp_string2.length);
if (_jsp_PropertyTag_1 == null) {
_jsp_PropertyTag_1 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_1.setPageContext(pageContext);
_jsp_PropertyTag_1.setParent((javax.servlet.jsp.tagext.Tag) _jsp_IfTag_0);
}
_jsp_PropertyTag_1.setValue("fieldErrors['Sex']");
_jsp_PropertyTag_1.doStartTag();
out.write(_jsp_string3, 0, _jsp_string3.length);
}
_jsp_IfTag_0.doEndTag();
out.write(_jsp_string4, 0, _jsp_string4.length);
if (_jsp_IfTag_0 == null) {
_jsp_IfTag_0 = new com.opensymphony.webwork.views.jsp.IfTag();
_jsp_IfTag_0.setPageContext(pageContext);
_jsp_IfTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_IfTag_0.setTest("fieldErrors['Class_Id']!= null");
int _jspEval34 = _jsp_IfTag_0.doStartTag();
if (_jspEval34 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
out.write(_jsp_string2, 0, _jsp_string2.length);
if (_jsp_PropertyTag_1 == null) {
_jsp_PropertyTag_1 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_1.setPageContext(pageContext);
_jsp_PropertyTag_1.setParent((javax.servlet.jsp.tagext.Tag) _jsp_IfTag_0);
}
_jsp_PropertyTag_1.setValue("fieldErrors['Class_Id']");
_jsp_PropertyTag_1.doStartTag();
out.write(_jsp_string3, 0, _jsp_string3.length);
}
_jsp_IfTag_0.doEndTag();
out.write(_jsp_string4, 0, _jsp_string4.length);
if (_jsp_IfTag_0 == null) {
_jsp_IfTag_0 = new com.opensymphony.webwork.views.jsp.IfTag();
_jsp_IfTag_0.setPageContext(pageContext);
_jsp_IfTag_0.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_IfTag_0.setTest("fieldErrors['flag']!= null");
int _jspEval42 = _jsp_IfTag_0.doStartTag();
if (_jspEval42 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
out.write(_jsp_string2, 0, _jsp_string2.length);
if (_jsp_PropertyTag_1 == null) {
_jsp_PropertyTag_1 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_1.setPageContext(pageContext);
_jsp_PropertyTag_1.setParent((javax.servlet.jsp.tagext.Tag) _jsp_IfTag_0);
}
_jsp_PropertyTag_1.setValue("fieldErrors['flag']");
_jsp_PropertyTag_1.doStartTag();
out.write(_jsp_string3, 0, _jsp_string3.length);
}
_jsp_IfTag_0.doEndTag();
out.write(_jsp_string5, 0, _jsp_string5.length);
admin.dbcont dbcon;
dbcon = (admin.dbcont) pageContext.getAttribute("dbcon");
if (dbcon == null) {
dbcon = new admin.dbcont();
pageContext.setAttribute("dbcon", dbcon);
}
out.write(_jsp_string6, 0, _jsp_string6.length);
if (_jsp_PropertyTag_2 == null) {
_jsp_PropertyTag_2 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_2.setPageContext(pageContext);
_jsp_PropertyTag_2.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_PropertyTag_2.setValue("Student_Id");
_jsp_PropertyTag_2.doStartTag();
out.write(_jsp_string7, 0, _jsp_string7.length);
if (_jsp_PropertyTag_2 == null) {
_jsp_PropertyTag_2 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_2.setPageContext(pageContext);
_jsp_PropertyTag_2.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_PropertyTag_2.setValue("Student_Name");
_jsp_PropertyTag_2.doStartTag();
out.write(_jsp_string8, 0, _jsp_string8.length);
if (_jsp_PropertyTag_2 == null) {
_jsp_PropertyTag_2 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_2.setPageContext(pageContext);
_jsp_PropertyTag_2.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_PropertyTag_2.setValue("Nationality");
_jsp_PropertyTag_2.doStartTag();
out.write(_jsp_string9, 0, _jsp_string9.length);
if (_jsp_PropertyTag_2 == null) {
_jsp_PropertyTag_2 = new com.opensymphony.webwork.views.jsp.PropertyTag();
_jsp_PropertyTag_2.setPageContext(pageContext);
_jsp_PropertyTag_2.setParent((javax.servlet.jsp.tagext.Tag) null);
}
_jsp_PropertyTag_2.setValue("Birth");
_jsp_PropertyTag_2.doStartTag();
out.write(_jsp_string10, 0, _jsp_string10.length);
if (_jsp_PropertyTag_2 == null) {
_jsp_PropertyTag_2 = new com.opensymphony.webwork.views.jsp.PropertyTag();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -