market_005finfo_005fdetail_jsp.java
来自「这个程序是花了好几十万请人开发的」· Java 代码 · 共 764 行 · 第 1/3 页
JAVA
764 行
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class market_005finfo_005fdetail_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_write_property_name_nobody;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_lessThan_value_property_name;
private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_logic_greaterEqual_value_property_name;
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_write_property_name_nobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_logic_lessThan_value_property_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_jspx_tagPool_logic_greaterEqual_value_property_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_jspx_tagPool_logic_iterate_name_id.release();
_jspx_tagPool_bean_write_property_name_nobody.release();
_jspx_tagPool_logic_lessThan_value_property_name.release();
_jspx_tagPool_logic_greaterEqual_value_property_name.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");
String sc=(String)request.getAttribute("sc"); String pz=(String)request.getAttribute("pz"); String dates=(String)request.getAttribute("dates");
out.write("\n");
out.write("<html>\n");
out.write("<head>\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\n");
out.write("<title>市场行情->");
out.print(sc);
out.print(pz);
out.write("行情</title>\n");
out.write("<link href=\"images/index.css\" rel=\"stylesheet\" type=\"text/css\">\t\n");
out.write("</head>\n");
out.write("\n");
out.write("<body bgcolor=\"#FFFFFF\">\n");
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "include/head.txt", out, false);
out.write("\n");
out.write("<TABLE align=center width=760 border=0 cellPadding=1 cellSpacing=1 width=100%>\n");
out.write(" <TBODY>\n");
out.write(" <TR>\n");
out.write(" <TD height=20 vAlign=center width=\"84%\" bgcolor=#87C4FF >\n");
out.write(" \t您的位置: <A href=\"index.jsp\" class=\"bl\">首页</A> >> <a href=\"market_index.do\">市场行情</a> >> ");
out.print(sc);
out.print(pz);
out.write("行情\n");
out.write(" </TD>\n");
out.write(" </TR>\n");
out.write(" \n");
out.write(" <TR bgColor=#87c4ff>\n");
out.write(" <TD height=1 vAlign=center></TD>\n");
out.write(" </TR>\n");
out.write("</TABLE>\n");
out.write("\n");
out.write("<table align=center width=760 border=0 cellPadding=1 cellSpacing=1 width=100%>\n");
out.write(" <tr>\n");
out.write(" <td align=center>\n");
out.write(" <font color=#00a8ff size=4><b>");
out.print(sc);
out.print(pz);
out.write("行情</b>(");
out.print(dates);
out.write(")</font>\n");
out.write(" </td>\n");
out.write(" </tr>\n");
out.write(" <tr>\n");
out.write(" \t<td align=center>\n");
out.write(" \t\t<font color=#00a8ff>(信息来源:湖北纺织网)</font>\n");
out.write(" \t</td>\n");
out.write(" </tr>\n");
out.write("</table>\n");
out.write("\n");
if(pz.equals(""))//按市场分类查询的结果显示 {
out.write("\n");
out.write("<table width=760 cellspacing=1 cellpadding=1 border=0 bgcolor=#87C4FF align=center>\n");
out.write(" <tr height=25 bgcolor=\"#CEF5FF\">\n");
out.write(" \t<td width=\"100\">\n");
out.write(" \t\t产品名称\n");
out.write(" \t</td>\n");
out.write(" \t\n");
out.write(" \t<td >\n");
out.write(" \t\t产品规格\n");
out.write(" \t</td> \n");
out.write(" \t\n");
out.write(" \t<td width=\"100\">\n");
out.write(" \t\t产品价格\n");
out.write(" \t</td> \n");
out.write("\n");
out.write(" \t<td width=\"100\">\n");
out.write(" \t\t产品单位\n");
out.write(" \t</td> \n");
out.write(" \t\n");
out.write(" \t<td width=\"100\">\n");
out.write(" \t\t产品产地\n");
out.write(" \t</td> \n");
out.write(" \t\n");
out.write(" \t<td width=\"80\">\n");
out.write(" \t\t产品涨跌\n");
out.write(" \t</td> \t \t \t\t \t \t\n");
out.write(" </tr>\n");
out.write(" \n");
out.write(" ");
// 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("schq");
_jspx_th_logic_iterate_0.setName("vec");
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 schq = 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();
}
schq = (java.lang.Object) _jspx_page_context.findAttribute("schq");
do {
out.write("\n");
out.write(" <tr height=25 bgcolor=\"#ffffff\">\n");
out.write(" \n");
out.write(" <td>\n");
out.write(" \t");
if (_jspx_meth_bean_write_0(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\n");
out.write(" </td>\n");
out.write(" <td >\n");
out.write(" \t");
if (_jspx_meth_bean_write_1(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\n");
out.write(" </td>\n");
out.write(" <td >\n");
out.write(" \t");
if (_jspx_meth_bean_write_2(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\n");
out.write(" </td>\n");
out.write(" <td >\n");
out.write(" \t");
if (_jspx_meth_bean_write_3(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\n");
out.write(" </td>\n");
out.write(" \n");
out.write(" <td>\n");
out.write(" \t");
if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write("\n");
out.write(" </td> \n");
out.write(" \n");
out.write(" ");
if (_jspx_meth_logic_lessThan_0(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write(" \n");
out.write(" ");
if (_jspx_meth_logic_greaterEqual_0(_jspx_th_logic_iterate_0, _jspx_page_context))
return;
out.write(" \n");
out.write(" \n");
out.write(" </tr>\n");
out.write(" ");
int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
schq = (java.lang.Object) _jspx_page_context.findAttribute("schq");
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("</table>\n");
}
out.write('\n');
out.write('\n');
if(sc.equals(""))//按产品名称分类查询的结果显示 {
out.write("\n");
out.write("<table width=760 cellspacing=1 cellpadding=1 border=0 bgcolor=#87C4FF>\n");
out.write(" <tr height=25 bgcolor=#CEF5FF>\n");
out.write(" \t<td width=\"100\">\n");
out.write(" \t\t产品名称\n");
out.write(" \t</td>\n");
out.write(" \t\n");
out.write(" \t<td >\n");
out.write(" \t\t产品规格\n");
out.write(" \t</td> \n");
out.write(" \t\n");
out.write(" \t<td width=\"80\">\n");
out.write(" \t\t产品价格\n");
out.write(" \t</td> \n");
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?