📄 _boardmaster2__jsp.java
字号:
/*
* JSP generated by Resin-3.0.7 (built Wed, 24 Mar 2004 04:28:45 PST)
*/
package _jsp;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
import java.sql.*;
import java.lang.String;
public class _boardmaster2__jsp extends com.caucho.jsp.JavaPage{
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.Application _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);
javax.servlet.jsp.JspWriter out = pageContext.getOut();
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);
bbs.beans.dbcontact.ContactBean contact;
contact = (bbs.beans.dbcontact.ContactBean) pageContext.getAttribute("contact");
if (contact == null) {
contact = new bbs.beans.dbcontact.ContactBean();
pageContext.setAttribute("contact", contact);
}
out.write(_jsp_string0, 0, _jsp_string0.length);
String boardid=request.getParameter("boardid");
String parentid=request.getParameter("parentid");
String childid=request.getParameter("childid");
String state=request.getParameter("state");
String tag="";
out.write(_jsp_string1, 0, _jsp_string1.length);
if(!state.equalsIgnoreCase("3")&&!state.equalsIgnoreCase("4"))
{ if(childid.equalsIgnoreCase("0"))
{Statement stm=contact.getStm();
stm.executeUpdate("update topicplan set state="+state+" where parentid="+parentid+" and boardid="+boardid);
if(state.equalsIgnoreCase("0")) tag="\u64a4\u6d88\u64cd\u4f5c\u6210\u529f\uff01";
if(state.equalsIgnoreCase("1")) tag="\u63d0\u7cbe\u64cd\u4f5c\u6210\u529f\uff01";
if(state.equalsIgnoreCase("2")) tag="\u9501\u5e16\u64cd\u4f5c\u6210\u529f\uff01";
if(state.equalsIgnoreCase("5")) tag="\u603b\u56fa\u9876\u64cd\u4f5c\u6210\u529f\uff01";
if(state.equalsIgnoreCase("6")) tag="\u56fa\u9876\u64cd\u4f5c\u6210\u529f\uff01";
if(state.equalsIgnoreCase("7")) tag="\u533a\u56fa\u9876\u64cd\u4f5c\u6210\u529f\uff01";
stm.close();
}
else
tag="\u6b64\u5e16\u4e3a\u56de\u590d\u5e16\uff0c\u53ea\u80fd\u5bf9\u5176\u8fdb\u884c\u4fee\u6539\u548c\u5220\u9664\u64cd\u4f5c\uff01";
out.write(_jsp_string2, 0, _jsp_string2.length);
out.print((tag));
out.write(_jsp_string3, 0, _jsp_string3.length);
}
else
{if(state.equalsIgnoreCase("4"))
{
out.write(_jsp_string4, 0, _jsp_string4.length);
out.print((parentid));
out.write(_jsp_string5, 0, _jsp_string5.length);
out.print((childid));
out.write(_jsp_string6, 0, _jsp_string6.length);
out.print((boardid));
out.write(_jsp_string7, 0, _jsp_string7.length);
}
else
{ response.sendRedirect("modify.jsp?parentid="+parentid+"&childid="+childid+"&boardid="+boardid);}
}
out.write(_jsp_string8, 0, _jsp_string8.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
com.caucho.jsp.QJspFactory.freePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
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.make.PersistentDependency depend)
{
super._caucho_addDepend(depend);
_caucho_depends.add(depend);
}
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 1174304629)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.make.Dependency depend;
depend = (com.caucho.make.Dependency) _caucho_depends.get(i);
if (depend.isModified())
return true;
}
return false;
}
public long _caucho_lastModified()
{
return 0;
}
public com.caucho.java.LineMap _caucho_getLineMap()
{
return _caucho_line_map;
}
public void destroy()
{
_caucho_isDead = true;
super.destroy();
}
public void init(com.caucho.java.LineMap lineMap,
com.caucho.vfs.Path appDir)
throws javax.servlet.ServletException
{
com.caucho.vfs.Path resinHome = com.caucho.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);
_caucho_line_map = new com.caucho.java.LineMap("_boardmaster2__jsp.java", "foo");
_caucho_line_map.add("/boardmaster2.jsp", 2, 31);
_caucho_line_map.add(3, 38);
_caucho_line_map.add(31, 45);
_caucho_line_map.add(55, 63);
_caucho_line_map.add(62, 65);
_caucho_line_map.add(73, 70);
_caucho_line_map.add(73, 72);
_caucho_line_map.add(73, 74);
_caucho_line_map.add(77, 76);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("boardmaster2.jsp"), "Xu9O8aN7TAKxfVLAqM2iIQ==", false);
_caucho_depends.add(depend);
}
private final static char []_jsp_string8;
private final static char []_jsp_string6;
private final static char []_jsp_string1;
private final static char []_jsp_string5;
private final static char []_jsp_string7;
private final static char []_jsp_string3;
private final static char []_jsp_string4;
private final static char []_jsp_string0;
private final static char []_jsp_string2;
static {
_jsp_string8 = "\r\n <tr>\r\n <td height=\"159\"> </td>\r\n </tr>\r\n</table>\r\n</body>\r\n</html>\r\n".toCharArray();
_jsp_string6 = "&boardId=".toCharArray();
_jsp_string1 = "\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n<title>\u7248\u4e3b\u7ba1\u7406</title>\r\n<style type=\"text/css\">\r\n<!--\r\nbody {\r\n background-image: url(images/back.gif);\r\n}\r\n.style18 { font-size: 12px;\r\n font-weight: bold;\r\n}\r\n.style2 { font-size: xx-large;\r\n font-weight: bold;\r\n}\r\n-->\r\n</style></head>\r\n<LINK href=\"css/cs1.css\" type=text/css rel=stylesheet>\r\n<body>\r\n\r\n<table width=\"660\" height=\"310\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n <!--DWLayoutTable-->\r\n ".toCharArray();
_jsp_string5 = "&childId=".toCharArray();
_jsp_string7 = "\"><img src=\"images/yes.gif\" width=\"60\" height=\"18\" border=\"0\"></a> <a href=\"javaScript:window.close()\"><img src=\"images/no.gif\" width=\"60\" height=\"18\" border=\"0\"></a></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n ".toCharArray();
_jsp_string3 = "</td>\r\n </tr>\r\n <tr>\r\n <td height=\"24\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\"><span class=\"style3\">[<a href=\"javaScript:window.close()\">\u5173\u95ed\u7a97\u53e3</a>]</span></td>\r\n </tr>\r\n </table></td>\r\n </tr>\r\n ".toCharArray();
_jsp_string4 = "\r\n <tr>\r\n <td height=\"50\" align=\"center\" valign=\"middle\"><table width=\"410\" height=\"50\" border=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n <!--DWLayoutTable-->\r\n <tr>\r\n <td width=\"406\" height=\"21\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\"><span class=\"style9\">\u4f60\u771f\u7684\u8981\u5220\u9664\u6539\u5e16\u5b50\u5417\uff1f</span><span class=\"style16\">\u5982\u679c\u6539\u5e16\u4e3a\u4e3b\u9898\u5e16\uff0c\u5219\u5176\u8ddf\u5e16\u4e5f\u5c06\u88ab\u5220\u9664\uff01</span></td>\r\n </tr>\r\n <tr>\r\n <td height=\"26\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\"><a href=\"delete.jsp?parentId=".toCharArray();
_jsp_string0 = "\r\n".toCharArray();
_jsp_string2 = "\r\n <tr>\r\n <td width=\"660\" height=\"52\"> </td>\r\n </tr>\r\n <tr>\r\n <td height=\"51\" align=\"center\" valign=\"middle\"><table width=\"408\" height=\"43\" border=\"0\" cellspacing=\"1\" bgcolor=\"#FF6600\">\r\n <!--DWLayoutTable-->\r\n <tr>\r\n <td width=\"644\" height=\"24\" align=\"center\" valign=\"middle\" bgcolor=\"#E7F7D6\" class=\"style5\">:)".toCharArray();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -