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

📄 info_005fcontent_005ftu_jsp.java

📁 这是我上次报java培训时
💻 JAVA
字号:
package org.apache.jsp.web_005fpage.info_005fall.info;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import jinLing.pub.*;
import jinLing.info.*;

public final class info_005fcontent_005ftu_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static java.util.Vector _jspx_dependants;

  public java.util.List getDependants() {
    return _jspx_dependants;
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html; charset=gb2312");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"../../pub_include/ErrPage.jsp", true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write(" \r\n");
      out.write(" ");
request.setCharacterEncoding("gb2312");
      out.write(" \r\n");
      out.write(" ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../../pub_include/pub_function_javascript.html", out, true);
      out.write("  \r\n");
      out.write(" \r\n");
      out.write("<HTML><HEAD><TITLE>  \r\n");
      out.write("荆州市荆州公安局 \r\n");
      out.write("</TITLE>\r\n");
      out.write("<META http-equiv=Content-Type content=\"text/html; charset=gb2312\">\r\n");
      out.write("\r\n");
      out.write("<STYLE type=text/css>\r\n");
      out.write("TD {\r\n");
      out.write("\tFONT-SIZE: 14px; LINE-HEIGHT: 22px; TEXT-DECORATION: none\r\n");
      out.write("}\r\n");
      out.write("LI {\r\n");
      out.write("\tFONT-SIZE: 12px\r\n");
      out.write("}\r\n");
      out.write("INPUT {\r\n");
      out.write("\tFONT-SIZE: 12px\r\n");
      out.write("}\r\n");
      out.write("SELECT {\r\n");
      out.write("\tFONT-SIZE: 12px\r\n");
      out.write("}\r\n");
      out.write(".unnamed1 {\r\n");
      out.write("\tFONT-SIZE: 12px; LINE-HEIGHT: 20px\r\n");
      out.write("}\r\n");
      out.write(".bd {\r\n");
      out.write("\tBORDER-RIGHT: #bc0021 1px solid; BORDER-TOP: #bc0021 1px solid; BORDER-LEFT: #bc0021 1px solid; BORDER-BOTTOM: #bc0021 1px solid\r\n");
      out.write("}\r\n");
      out.write("A:link {\r\n");
      out.write("\tCOLOR: #000000\r\n");
      out.write("}\r\n");
      out.write("A:visited {\r\n");
      out.write("\tCOLOR: #000000\r\n");
      out.write("}\r\n");
      out.write("A:active {\r\n");
      out.write("\tCOLOR: #999999\r\n");
      out.write("}\r\n");
      out.write("A:hover {\r\n");
      out.write("\tCOLOR: #999999\r\n");
      out.write("}\r\n");
      out.write(".bg2 {\r\n");
      out.write("\tBACKGROUND-POSITION: 50% bottom; BACKGROUND-IMAGE: url(images/sjtg_051230_05.gif); BACKGROUND-REPEAT: repeat-x\r\n");
      out.write("}\r\n");
      out.write(".style1 {\r\n");
      out.write("\tfont-size: 18px;\r\n");
      out.write("\tfont-weight: bold;\r\n");
      out.write("}\r\n");
      out.write("</STYLE>\r\n");
      out.write("\r\n");
 
String INFO_ID= "" ;   //INFO_ID 
String INFO_CONTENT= "" ;   //INFO_CONTENT 
String INFO_REMARK= "" ; 
String INFO_REMARK_2= "" ; 

    //PubOp pubOp = new PubOp("INFO");
  Info info =new Info();
    INFO_ID = request.getParameter("INFO_ID").toString();
	Hashtable list = new Hashtable();
	Collection col = null;
    list.put("INFO_ID",INFO_ID);
	col = info.execSel(list);
    Iterator ir = col.iterator();
    Hashtable tt = new Hashtable();
    if (ir.hasNext())
    {
      tt=(Hashtable)ir.next();
      INFO_CONTENT = Util.getNulltoStr(tt.get("INFO_CONTENT"));   //  INFO_CONTENT
	  INFO_REMARK= Util.getNulltoStr(tt.get("INFO_REMARK")); 
	  INFO_REMARK_2= Util.getNulltoStr(tt.get("INFO_REMARK_2")); 
    }

      out.write("\r\n");
      out.write("<META content=\"MSHTML 6.00.2800.1528\" name=GENERATOR></HEAD>\r\n");
      out.write("<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginwidth=\"0\" marginheight=\"0\">\r\n");
      out.write("<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>\r\n");
      out.write("  <TBODY>\r\n");
      out.write("  <TR>\r\n");
      out.write("    <TD height=95 colspan=\"3\">\r\n");
      out.write("      <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"778\" height=\"102\">\r\n");
      out.write("        <param name=\"movie\" value=\"/source/head.swf\">\r\n");
      out.write("        <param name=\"quality\" value=\"high\">\r\n");
      out.write("        <embed src=\"/source/head.swf\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"778\" height=\"102\"></embed>\r\n");
      out.write("      </object></TD>\r\n");
      out.write("    </TR>\r\n");
      out.write("  <TR>\r\n");
      out.write("    <TD width=\"109\" height=460 background=../../../source/sjtg_051230_04.gif>&nbsp; </TD>\r\n");
      out.write("    <TD width=\"669\" \r\n");
      out.write("    colSpan=2 vAlign=top background=../../../source/sjtg_051230_05.gif class=bg2>\r\n");
      out.write("      <TABLE cellSpacing=0 cellPadding=0 width=\"98%\" align=center>\r\n");
      out.write("        <TBODY>\r\n");
      out.write("        <TR>\r\n");
      out.write("          <TD vAlign=center height=70>\r\n");
      out.write("            <DIV align=center><span class=\"style1\">");
      out.print(INFO_REMARK);
      out.write("</span></DIV></TD></TR>\r\n");
      out.write("        <TR>\r\n");
      out.write("          <TD vAlign=top background=../../../source/sjtg_051230_05.gif \r\n");
      out.write("          height=400>\r\n");
      out.write("\t\t  <HR  size=\"1\">&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
      out.write("\t\t  <IMG  border=\"0\" src=\"../../../source/4/");
      out.print(INFO_CONTENT);
      out.write("\">\r\n");
      out.write("\t\t   &nbsp;&nbsp;&nbsp;&nbsp;");
      out.print(INFO_REMARK_2);
      out.write("\r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write(" \r\n");
      out.write("\t</TD></TR>\r\n");
      out.write("        <TR>\r\n");
      out.write("          <TD vAlign=top>\r\n");
      out.write("            <DIV \r\n");
      out.write("            align=center>                           </DIV></TD></TR></TBODY></TABLE></TD></TR>\r\n");
      out.write("  <TR>\r\n");
      out.write("    <TD vAlign=top colSpan=3 height=8><IMG \r\n");
      out.write("      src=\"../../../source/sjtg_051230_07.gif\" width=778></TD></TR></TBODY></TABLE>\r\n");
      out.write("<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>\r\n");
      out.write("  <TBODY>\r\n");
      out.write("  <TR align=middle>\r\n");
      out.write("    <TD><IMG height=1 src=\"\" width=450></TD></TR>\r\n");
      out.write("  <TR align=middle>\r\n");
      out.write("    <TD>\r\n");
      out.write("      <TABLE cellSpacing=2 cellPadding=0 width=\"100%\" border=0>\r\n");
      out.write("        <TBODY>\r\n");
      out.write("        <TR>\r\n");
      out.write("          <TD class=unnamed1><div align=\"center\"><STRONG>荆州市荆州公安局版权所有</STRONG></div></TD>\r\n");
      out.write("        <TR>\r\n");
      out.write("          <TD class=unnamed1>&nbsp;</TD>\r\n");
      out.write("          </TR></TBODY></TABLE>\r\n");
      out.write("\t\t  </TD></TR></TBODY></TABLE>\r\n");
      out.write("</BODY></HTML>\r\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          out.clearBuffer();
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}

⌨️ 快捷键说明

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