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

📄 detailcontent1_jsp.java

📁 这个程序是花了好几十万请人开发的
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
package org.apache.jsp.include;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

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

  private static java.util.Vector _jspx_dependants;

  static {
    _jspx_dependants = new java.util.Vector(3);
    _jspx_dependants.add("/WEB-INF/struts-bean.tld");
    _jspx_dependants.add("/WEB-INF/struts-html.tld");
    _jspx_dependants.add("/WEB-INF/struts-logic.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_iterate_name_id;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_define_property_name_id_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_name_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_bean_write_property_name_nobody;

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

  public void _jspInit() {
    _jspx_tagPool_logic_iterate_name_id = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_bean_define_property_name_id_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_bean_write_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_bean_write_property_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_logic_iterate_name_id.release();
    _jspx_tagPool_bean_define_property_name_id_nobody.release();
    _jspx_tagPool_bean_write_name_nobody.release();
    _jspx_tagPool_bean_write_property_name_nobody.release();
  }

  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,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n");
      out.write(" \n");
      out.write(" \n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("<TABLE align=center background=\"image/top-back.jpg\" border=0 \n");
      out.write("cellPadding=1 cellSpacing=1 width=760>\n");
      out.write("  <TBODY>\n");
      out.write("  <TR>\n");
      out.write("    <TD height=20 vAlign=center width=\"84%\">您的位置:&nbsp;<A class=bl \n");
      out.write("      href=\"http://www.sinotex.net/index.asp\">首页</A> &gt;&gt; 行情图表</TD></TR>\n");
      out.write("  <TR bgColor=#006060>\n");
      out.write("    <TD height=1 vAlign=center></TD></TR></TBODY></TABLE>\n");
      out.write("<CENTER>\n");
      out.write("<TABLE border=0 cellPadding=0 cellSpacing=0 width=760>\n");
      out.write("  <TBODY>\n");
      out.write("  <TR>\n");
      out.write("      <TD bgColor=#efefef vAlign=top width=\"23%\">\n");
      out.write("      <TABLE border=0 cellPadding=0 cellSpacing=0 width=\"100%\">\n");
      out.write("        <TBODY>\n");
      out.write("        <TR>\n");
      out.write("          <TD height=28><B><FONT size=2 color=#cc3300>同类其他品种</FONT></B></TD>\n");
      out.write("       </TR>\n");
      out.write("       <TR>\n");
      out.write("          <TD align=center>\n");
      out.write("           <TABLE border=0 cellPadding=1 cellSpacing=0 width=\"100%\">\n");
      out.write("           <TBODY>\n");
      out.write("            <TR>\n");
      out.write("               <TD align=left> \n");
      out.write("                 <TABLE border=0 cellPadding=0 cellSpacing=0 width=\"100%\">\n");
      out.write("                 <TBODY>\n");
      out.write("              \n");
      out.write("\t");
      //  logic:iterate
      org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_0 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
      _jspx_th_logic_iterate_0.setPageContext(_jspx_page_context);
      _jspx_th_logic_iterate_0.setParent(null);
      _jspx_th_logic_iterate_0.setId("element");
      _jspx_th_logic_iterate_0.setName("veckind");
      int _jspx_eval_logic_iterate_0 = _jspx_th_logic_iterate_0.doStartTag();
      if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        java.lang.Object element = null;
        if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_logic_iterate_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_logic_iterate_0.doInitBody();
        }
        element = (java.lang.Object) _jspx_page_context.findAttribute("element");
        do {
          out.write('\n');
          out.write('	');
          out.write('	');
          //  bean:define
          org.apache.struts.taglib.bean.DefineTag _jspx_th_bean_define_0 = (org.apache.struts.taglib.bean.DefineTag) _jspx_tagPool_bean_define_property_name_id_nobody.get(org.apache.struts.taglib.bean.DefineTag.class);
          _jspx_th_bean_define_0.setPageContext(_jspx_page_context);
          _jspx_th_bean_define_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
          _jspx_th_bean_define_0.setId("code");
          _jspx_th_bean_define_0.setName("element");
          _jspx_th_bean_define_0.setProperty("code");
          int _jspx_eval_bean_define_0 = _jspx_th_bean_define_0.doStartTag();
          if (_jspx_th_bean_define_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_bean_define_property_name_id_nobody.reuse(_jspx_th_bean_define_0);
          java.lang.Object code = null;
          code = (java.lang.Object) _jspx_page_context.findAttribute("code");
          out.write("\n");
          out.write("\t\t<tr height=20>\n");
          out.write("\t\t<TD width=\"2%\">●</TD>\n");
          out.write("\t\t<TD width=\"98%\"><a class=bl href=\"showdetail.do?code=");
          if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
            return;
          out.write("\">\n");
          out.write("           ");
          if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
            return;
          out.write("\n");
          out.write("          </a>\n");
          out.write("        </td>\n");
          out.write("        </tr>\n");
          out.write("\t\t");
          int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
          element = (java.lang.Object) _jspx_page_context.findAttribute("element");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_logic_iterate_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
          out = _jspx_page_context.popBody();
      }
      if (_jspx_th_logic_iterate_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_logic_iterate_name_id.reuse(_jspx_th_logic_iterate_0);
      out.write("\n");
      out.write("\t\t\n");
      out.write("    </TBODY></TABLE></TD></TR></TBODY></TABLE>\n");
      out.write("           </TD>\n");
      out.write("        </TR>\n");
      out.write("       </TBODY>\n");
      out.write("       </TABLE>\n");
      out.write("      </TD>\n");
      out.write("    <TD width=\"77%\">\n");
      out.write("      <TABLE border=0 cellPadding=0 cellSpacing=2 width=\"100%\">\n");
      out.write("        <TBODY>\n");
      out.write("        <TR>\n");
      out.write("          <TD height=3></TD>\n");
      out.write("        </TR>\n");
      out.write("        <TR align=middle>\n");
      out.write("          <TD><H4 align=center class=20pp><FONTcolor=#05006c>");
      if (_jspx_meth_bean_write_2(_jspx_page_context))
        return;
      out.write("</FONT></H4></TD></TR>\n");
      out.write("        <TR align=middle>\n");
      out.write("          <TD><FONT color=#000000>(");
      if (_jspx_meth_bean_write_3(_jspx_page_context))
        return;
      out.write(") --- </FONT><FONT color=#000066>(信息来源:锦桥纺织网)</FONT></TD>\n");
      out.write("         </TR>\n");
      out.write("      </TBODY>\n");
      out.write("      </TABLE>\n");
      out.write("      <TABLE border=0 cellPadding=0 cellSpacing=0 width=\"100%\">\n");
      out.write("        <TBODY>\n");
      out.write("        <TR>\n");
      out.write("          <TD>\n");
      out.write("            <HR color=#009999 noShade SIZE=1>\n");
      out.write("          </TD></TR></TBODY></TABLE>\n");
      out.write("      <DIV align=center id=Content>\n");
      out.write("      <TABLE border=0 cellPadding=2 cellSpacing=0 width=\"100%\">\n");
      out.write("        <TBODY>\n");
      out.write("        <TR>\n");
      out.write("          <TD align=middle width=\"100%\"><FONT \n");
      out.write("            color=#ff7f00>提示:更多品种走势图,见本页左边“同类其他品种”</FONT> <BR><BR>\n");
      out.write("          \n");
      out.write("            ");
			int number=Integer.parseInt(((String)request.getAttribute("number")));		   
      out.write(" \n");
      out.write("           <applet code=\"applet.applet.class\" width=\"500\" height=\"250\">\n");
      out.write("\t\t   ");
		   for(int i=0;i<number;i++)		   {  			
      out.write("\n");
      out.write("               <param name=\"price");
      out.print(i);
      out.write("\" value=\"");
      out.print(request.getAttribute("price"+i));
      out.write("\">\n");
      out.write("\t\t\t");
}
      out.write("\n");
      out.write("\t\t\t\t<param name=\"number\" value=");
      out.print(String.valueOf(number));
      out.write(">\n");
      out.write("\n");
      out.write("\n");
      out.write("\t\t\t\t<param name=\"maxprice\" value=\"");
      out.print(request.getAttribute("maxprice"));
      out.write("\">\n");
      out.write("\t\t\t\t<param name=\"minprice\" value=\"");
      out.print(request.getAttribute("minprice"));
      out.write("\">\n");
      out.write("\t\t\t\t<param name=\"maxdate\" value=\"");
      out.print(request.getAttribute("maxdate"));
      out.write("\">\n");
      out.write("\t\t\t\t<param name=\"mindate\" value=\"");
      out.print(request.getAttribute("mindate"));
      out.write("\">\n");
      out.write("\t\t\t\t<param name=\"title\" value=\"");
      out.print(request.getAttribute("title"));
      out.write("\">\n");
      out.write("\t\t\t\t<param name=\"danwei\" value=\"");
      out.print(request.getAttribute("danwei"));
      out.write("\">\n");
      out.write("\t\t\t</applet>  \n");
      out.write("          \n");
      out.write("           \n");
      out.write("           <BR><BR></TD></TR>\n");
      out.write("           <form action=\"querydetail.do\" method=\"post\">\n");

⌨️ 快捷键说明

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