⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _showlist__jsp.java

📁 手机kjava程序的服务器端程序。
💻 JAVA
字号:
/*
 * JSP generated by Resin 2.0.0 (built Fri Jun  8 12:04:24 PDT 2001)
 */

package _manage;
import java.io.*;
import javax.servlet.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;
import bean.InsertTable;

public class _showList__jsp extends com.caucho.jsp.JavaPage{
  private boolean 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=GB2312");
    request.setCharacterEncoding("GB2312");
    try {
      pageContext.write(_jsp_string0, 0, _jsp_string0.length);
      pageContext.write(_jsp_string1, 0, _jsp_string1.length);
      pageContext.write(_jsp_string1, 0, _jsp_string1.length);
      pageContext.write(_jsp_string1, 0, _jsp_string1.length);
      	InsertTable Show = new InsertTable();	Vector v = new Vector();	v = Show.showList();	out.println(v);
      pageContext.write(_jsp_string2, 0, _jsp_string2.length);
      			for(int i = 0;i<v.size();i++){				String id = (String)((Vector)v.get(i)).get(0);				String create_time = ((String)((Vector)v.get(i)).get(1)).substring(0,10);				String title = (String)((Vector)v.get(i)).get(2);				String content = (String)((Vector)v.get(i)).get(3);				if(content.length()>20){					content = content.substring(0,10)+"...";				}				String png_url = (String)((Vector)v.get(i)).get(4);				String content_type = (String)((Vector)v.get(i)).get(5);				if(content_type.equals("0")){					content_type = "新闻";				}else{					content_type = "咨讯";				}				if(i%2 == 0){		
      pageContext.write(_jsp_string3, 0, _jsp_string3.length);
      out.print((id));
      pageContext.write(_jsp_string4, 0, _jsp_string4.length);
      out.print((title));
      pageContext.write(_jsp_string5, 0, _jsp_string5.length);
      out.print((content));
      pageContext.write(_jsp_string5, 0, _jsp_string5.length);
      			if(png_url.length()>0){		
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      out.print((png_url));
      pageContext.write(_jsp_string7, 0, _jsp_string7.length);
       			}else{out.println("no pics");}		
      pageContext.write(_jsp_string5, 0, _jsp_string5.length);
      out.print((content_type));
      pageContext.write(_jsp_string5, 0, _jsp_string5.length);
      out.print((create_time));
      pageContext.write(_jsp_string8, 0, _jsp_string8.length);
      				}else{			
      pageContext.write(_jsp_string9, 0, _jsp_string9.length);
      out.print((id));
      pageContext.write(_jsp_string10, 0, _jsp_string10.length);
      out.print((title));
      pageContext.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((content));
      pageContext.write(_jsp_string12, 0, _jsp_string12.length);
      			if(png_url.length()>0){		
      pageContext.write(_jsp_string6, 0, _jsp_string6.length);
      out.print((png_url));
      pageContext.write(_jsp_string7, 0, _jsp_string7.length);
       			}else{out.println("no pics");}		
      pageContext.write(_jsp_string13, 0, _jsp_string13.length);
      out.print((content_type));
      pageContext.write(_jsp_string11, 0, _jsp_string11.length);
      out.print((create_time));
      pageContext.write(_jsp_string14, 0, _jsp_string14.length);
      				}						}
      pageContext.write(_jsp_string15, 0, _jsp_string15.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 (isDead)
      return true;
    if (com.caucho.util.CauchoSystem.getVersionId() != 2058989997)
      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()
  {
      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("_showList__jsp.java", "/manage/showList.jsp");
    _caucho_line_map.add(1, 1);
    _caucho_line_map.add(1, 32);
    _caucho_line_map.add(3, 33);
    _caucho_line_map.add(35, 48);
    _caucho_line_map.add(55, 84);
    _caucho_line_map.add(58, 86);
    _caucho_line_map.add(61, 88);
    _caucho_line_map.add(64, 90);
    _caucho_line_map.add(66, 96);
    _caucho_line_map.add(67, 98);
    _caucho_line_map.add(72, 104);
    _caucho_line_map.add(75, 106);
    _caucho_line_map.add(78, 108);
    _caucho_line_map.add(83, 114);
    _caucho_line_map.add(86, 116);
    _caucho_line_map.add(89, 118);
    _caucho_line_map.add(93, 120);
    _caucho_line_map.add(95, 126);
    _caucho_line_map.add(96, 128);
    _caucho_line_map.add(101, 134);
    _caucho_line_map.add(104, 136);
    _caucho_line_map.add(107, 138);
    com.caucho.vfs.Depend depend;
    depend = new com.caucho.vfs.Depend(mergePath.lookup("file:/d:/JWeatherServer/manage/showList.jsp"), 1086260136000L, 4050L);
    _caucho_depends.add(depend);
  }

  private static byte []_jsp_string2;
  private static byte []_jsp_string8;
  private static byte []_jsp_string10;
  private static byte []_jsp_string4;
  private static byte []_jsp_string9;
  private static byte []_jsp_string15;
  private static byte []_jsp_string6;
  private static byte []_jsp_string7;
  private static byte []_jsp_string3;
  private static byte []_jsp_string14;
  private static byte []_jsp_string1;
  private static byte []_jsp_string12;
  private static byte []_jsp_string11;
  private static byte []_jsp_string13;
  private static byte []_jsp_string0;
  private static byte []_jsp_string5;
  static {
    try {
      _jsp_string2 = "\r\n<body>\r\n      <table border=\"1\" width=\"639\" cellspacing=\"0\" cellpadding=\"0\" height=\"1\">\r\n        <tr>\r\n    		<td width=\"107\" bgColor=\"#FF00FF\" height=\"8\">\r\n      		<p align=\"center\"><b><font size=\"2\" color=\"#FFFFFF\">操作</font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#FF00FF\" height=\"8\">\r\n            <p align=\"center\"><b><font size=\"2\" color=\"#FFFFFF\">\r\n            标题</font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#FF00FF\" height=\"8\">\r\n            <p align=\"center\"><b><font size=\"2\" color=\"#FFFFFF\">内容</font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#FF00FF\" height=\"8\">\r\n            <p align=\"center\"><b><font size=\"2\" color=\"#FFFFFF\">图片</font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#FF00FF\" height=\"8\">\r\n            <p align=\"center\"><b><font size=\"2\" color=\"#FFFFFF\">类别</font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#FF00FF\" height=\"8\">\r\n            <p align=\"center\"><b><font size=\"2\" color=\"#FFFFFF\">时间</font></b></p>\r\n    		</td>\r\n        </tr>\r\n		".getBytes("GB2312");
      _jsp_string8 = "</font></b></p>\r\n    		</td>\r\n        </tr>\r\n       ".getBytes("GB2312");
      _jsp_string10 = "\">删除</a></font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#C0C0C0\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\">".getBytes("GB2312");
      _jsp_string4 = "\">删除</a></font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#00FFFF\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\"> ".getBytes("GB2312");
      _jsp_string9 = "\r\n        <tr>\r\n    		<td width=\"107\" bgColor=\"#C0C0C0\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\"><a href = \"del.jsp?id=".getBytes("GB2312");
      _jsp_string15 = "\r\n      </table>\r\n</body>".getBytes("GB2312");
      _jsp_string6 = "<img src=\"".getBytes("GB2312");
      _jsp_string7 = "\">\r\n			".getBytes("GB2312");
      _jsp_string3 = "\r\n        <tr>\r\n    		<td width=\"107\" bgColor=\"#00FFFF\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\"><a href = \"del.jsp?id=".getBytes("GB2312");
      _jsp_string14 = "</font></b></p>\r\n    		</td>\r\n        </tr>\r\n		".getBytes("GB2312");
      _jsp_string1 = "\r\n".getBytes("GB2312");
      _jsp_string12 = "</font></b></p>\r\n    		</td>\r\n    		\r\n    		<td width=\"106\" bgColor=\"#C0C0C0\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\"> ".getBytes("GB2312");
      _jsp_string11 = " </font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#C0C0C0\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\"> ".getBytes("GB2312");
      _jsp_string13 = "</font></b></p>\r\n    		</td>\r\n			<td width=\"106\" bgColor=\"#C0C0C0\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\">".getBytes("GB2312");
      _jsp_string0 = "\r\n\r\n".getBytes("GB2312");
      _jsp_string5 = "</font></b></p>\r\n    		</td>\r\n    		<td width=\"106\" bgColor=\"#00FFFF\" height=\"7\">\r\n      <p align=\"center\"><b><font size=\"2\"> ".getBytes("GB2312");
    } catch (java.io.UnsupportedEncodingException e) {
      e.printStackTrace();
    }
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -