📄 _hot_22ddel_22dres__jsp.java
字号:
/*
* JSP generated by Resin 2.1.4 (built Fri Aug 2 14:16:52 PDT 2002)
*/
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
public class _hot_22ddel_22dres__jsp extends com.caucho.jsp.JavaPage{
private boolean _caucho_isDead;
int name;
public void
_jspService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException, javax.servlet.ServletException
{
com.caucho.jsp.QPageContext pageContext = (com.caucho.jsp.QPageContext) com.caucho.jsp.QJspFactory.create().getPageContext(this, request, response, null, true, 8192, true);
javax.servlet.jsp.JspWriter out = (javax.servlet.jsp.JspWriter) pageContext.getOut();
javax.servlet.ServletConfig config = getServletConfig();
javax.servlet.Servlet page = this;
javax.servlet.http.HttpSession session = pageContext.getSession();
javax.servlet.ServletContext application = pageContext.getServletContext();
response.setContentType("text/html; charset=GBK");
request.setCharacterEncoding("GBK");
try {
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
sk.news_addBean hot_del_res;
hot_del_res = (sk.news_addBean) pageContext.getAttribute("hot_del_res");
if (hot_del_res == null) {
hot_del_res = new sk.news_addBean();
pageContext.setAttribute("hot_del_res", hot_del_res);
}
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
name=Integer.parseInt(request.getParameter("del"));
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
boolean news;
news=hot_del_res.delete(name);
if(news){
out.print("数据删除成功"+"<br>");
response.sendRedirect("hot_del.jsp");
}
else{
out.print("数据删除失败"+"<br>");
}
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
} catch (java.lang.Throwable _jsp_e) {
pageContext.handlePageException(_jsp_e);
} finally {
JspFactory.getDefaultFactory().releasePageContext(pageContext);
}
}
private com.caucho.java.LineMap _caucho_line_map;
private java.util.ArrayList _caucho_depends = new java.util.ArrayList();
public boolean _caucho_isModified()
{
if (_caucho_isDead)
return true;
if (com.caucho.util.CauchoSystem.getVersionId() != 2057024146)
return true;
for (int i = _caucho_depends.size() - 1; i >= 0; i--) {
com.caucho.vfs.Depend depend;
depend = (com.caucho.vfs.Depend) _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);
mergePath.addClassPath(getClass().getClassLoader());
_caucho_line_map = new com.caucho.java.LineMap("_hot_22ddel_22dres__jsp.java", "/back/hot-del-res.jsp");
_caucho_line_map.add(1, 1);
_caucho_line_map.add(5, 11);
_caucho_line_map.add(1, 29);
_caucho_line_map.add(5, 37);
_caucho_line_map.add(8, 38);
_caucho_line_map.add(16, 42);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("hot-del-res.jsp"), 874063306000L, 527L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string1;
private static byte []_jsp_string2;
private static byte []_jsp_string3;
private static byte []_jsp_string0;
static {
try {
_jsp_string1 = "\r\n<html>\r\n<head>\r\n".getBytes("GBK");
_jsp_string2 = "\r\n<title>\r\nnews_del_res\r\n</title>\r\n</head>\r\n<body>\r\n".getBytes("GBK");
_jsp_string3 = "\r\n</body>\r\n<p><center><a href=\"hottopic_del.jsp\">返回</a></center></p>\r\n</html>\r\n".getBytes("GBK");
_jsp_string0 = "\r\n".getBytes("GBK");
} catch (java.io.UnsupportedEncodingException e) {
e.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -