📄 _news_0del__jsp.java
字号:
/*
* JSP generated by Resin 2.1.4 (built Fri Aug 2 14:16:52 PDT 2002)
*/
package _back;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.http.*;
public class _news_0del__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
{
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.newsBean news_del;
news_del = (sk.newsBean) pageContext.getAttribute("news_del");
if (news_del == null) {
news_del = new sk.newsBean();
pageContext.setAttribute("news_del", news_del);
}
pageContext.write(_jsp_string0, 0, _jsp_string0.length);
String bianji="bj";
String shichang="sc";
String admin="zh";
if(session.getValue("type").toString().equals(bianji)||session.getValue("type").toString().equals(shichang)||session.getValue("type").toString().equals("admin"))
;
else response.sendRedirect("login.htm");
pageContext.write(_jsp_string1, 0, _jsp_string1.length);
news_del.getSkdb1().getDatabase1().openConnection();
news_del.getSkdb1().getNews().executeQuery();
news_del.getSkdb1().getNews().first();
pageContext.write(_jsp_string2, 0, _jsp_string2.length);
for(int i=0;i<news_del.getSkdb1().getNews().getRowCount();i++)
{
if(news_del.getSkdb1().getNews().getInt("id")%2==0)
out.println("<tr bgcolor=pink>");
else
out.println("<tr bgcolor>");
pageContext.write(_jsp_string3, 0, _jsp_string3.length);
out.print((news_del.getSkdb1().getNews().getInt("id")));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((news_del.getSkdb1().getNews().getString("Title")));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
out.print((news_del.getSkdb1().getNews().getString("Content")));
pageContext.write(_jsp_string4, 0, _jsp_string4.length);
if(news_del.getSkdb1().getNews().getBoolean("State"))
out.println("yes");
else out.println("no");
pageContext.write(_jsp_string5, 0, _jsp_string5.length);
out.print((news_del.getSkdb1().getNews().getInt("id")));
pageContext.write(_jsp_string6, 0, _jsp_string6.length);
out.print((news_del.getSkdb1().getNews().getInt("id")));
pageContext.write(_jsp_string7, 0, _jsp_string7.length);
news_del.getSkdb1().getNews().next();
}
pageContext.write(_jsp_string8, 0, _jsp_string8.length);
news_del.getSkdb1().getDatabase1().closeConnection();
pageContext.write(_jsp_string9, 0, _jsp_string9.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("_news_0del__jsp.java", "/back/news_del.jsp");
_caucho_line_map.add(1, 1);
_caucho_line_map.add(1, 27);
_caucho_line_map.add(3, 35);
_caucho_line_map.add(21, 45);
_caucho_line_map.add(28, 51);
_caucho_line_map.add(38, 60);
_caucho_line_map.add(39, 62);
_caucho_line_map.add(40, 64);
_caucho_line_map.add(41, 66);
_caucho_line_map.add(44, 70);
_caucho_line_map.add(44, 72);
_caucho_line_map.add(47, 74);
_caucho_line_map.add(53, 79);
com.caucho.vfs.Depend depend;
depend = new com.caucho.vfs.Depend(appDir.lookup("back/news_del.jsp"), 1035009714578L, 2021L);
_caucho_depends.add(depend);
}
private static byte []_jsp_string9;
private static byte []_jsp_string7;
private static byte []_jsp_string1;
private static byte []_jsp_string8;
private static byte []_jsp_string4;
private static byte []_jsp_string5;
private static byte []_jsp_string2;
private static byte []_jsp_string3;
private static byte []_jsp_string6;
private static byte []_jsp_string0;
static {
try {
_jsp_string9 = "\r\n</html>\r\n".getBytes("GBK");
_jsp_string7 = "\"></td>\r\n </form>\r\n </tr>\r\n ".getBytes("GBK");
_jsp_string1 = "\r\n<html>\r\n<head>\r\n<title>\r\nnews_del\r\n</title>\r\n</head>\r\n<body>\r\n\r\n<table border=\"1\" width=\"100%\">\r\n".getBytes("GBK");
_jsp_string8 = "\r\n</table>\r\n</body>\r\n".getBytes("GBK");
_jsp_string4 = "</td>\r\n <td>".getBytes("GBK");
_jsp_string5 = "</td>\r\n <td><input type=\"submit\" value=\"删除\" name=\"".getBytes("GBK");
_jsp_string2 = "\r\n <tr bgcolor=pink>\r\n <td >id</td><td >标题</td><td> 内容</td><td >审核</td><td> </td></tr>\r\n ".getBytes("GBK");
_jsp_string3 = "\r\n\r\n <form action=\"news_del_res.jsp\">\r\n <td>".getBytes("GBK");
_jsp_string6 = "\"><input type=\"hidden\" name=\"del\" value=\"".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 + -