📄 _terms_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 _terms_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;
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['termsId']!= 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['termsId']");
_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['termsName']!= 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['termsName']");
_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 _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['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);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
if (_jsp_IfTag_0 != null)
_jsp_IfTag_0.release();
if (_jsp_PropertyTag_1 != null)
_jsp_PropertyTag_1.release();
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();
manager.addTaglibFunctions(_jsp_functionMap, "ww", "webwork");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/terms_add.jsp"), 854082827666403042L, false);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, depend);
depend = new com.caucho.vfs.Depend(mergePath.lookup("/META-INF/taglib.tld"), -2122541413036278942L, false);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, depend);
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, new com.caucho.make.ClassDependency(com.opensymphony.webwork.views.jsp.PropertyTag.class, -5963441192859368467L));
com.caucho.jsp.JavaPage.addDepend(_caucho_depends, new com.caucho.make.ClassDependency(com.opensymphony.webwork.views.jsp.IfTag.class, 8486472651827040638L));
}
static {
try {
} catch (Exception e) {
e.printStackTrace();
throw new RuntimeException(e);
}
}
private final static char []_jsp_string1;
private final static char []_jsp_string3;
private final static char []_jsp_string4;
private final static char []_jsp_string5;
private final static char []_jsp_string0;
private final static char []_jsp_string2;
static {
_jsp_string1 = "\r\n<html>\r\n<head>\r\n<title></title>\r\n</head>\r\n<body>\r\n<b><center>\r\n <div align=\"center\"><font size=4 color=red>\u5b66\u671f\u4fe1\u606f\u6dfb\u52a0</font><br>\r\n</div>\r\n <hr><br>\r\n".toCharArray();
_jsp_string3 = "\r\n </font>\r\n".toCharArray();
_jsp_string4 = "\r\n".toCharArray();
_jsp_string5 = "\r\n<br>\r\n<form action=\"terms.action\" method=\"post\">\r\n\u5b66\u671f\u7f16\u53f7: <input type=\"textfield\" name=\"termsid\" /><br>\r\n\u5b66\u671f\u540d\u79f0: <input type=\"textfield\" name=\"termsname\" /><br>\r\n<input type=\"submit\" value=\"\u786e\u5b9a\">\r\n<input type=\"reset\" value=\"\u53d6\u6d88\">\r\n</form><br><br>\r\n<form action=\"terms_edit.jsp\" method=\"post\">\r\n <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"112\" height=\"49\" align=\"right\">\r\n <param name=\"BGCOLOR\" value=\"\">\r\n <param name=\"movie\" value=\"termback.swf\">\r\n <param name=\"quality\" value=\"high\">\r\n <embed src=\"termback.swf\" width=\"112\" height=\"49\" align=\"right\" quality=\"high\" pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" ></embed>\r\n </object>\r\n</form>\r\n\r\n</body>\r\n</html>".toCharArray();
_jsp_string0 = "\r\n\r\n\r\n\r\n".toCharArray();
_jsp_string2 = "\r\n <font color=\"red\">\r\n ".toCharArray();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -