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

📄 elecuseinfobysearch_jsp.java

📁 JSP移动商品管理平台源代码.........
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
package org.apache.jsp.imis_005felec;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;
import imis_elec.ElecUseInfoTO;
import java.text.DecimalFormat;

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

  private static java.util.Vector _jspx_dependants;

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_set_var_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_set_var_value_scope;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items_end_begin;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_if_test;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_table_requestURI_pagesize_name_id_export_class;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_column_width_title_property_headerClass_bgcolor;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_setProperty_value_name;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_display_footer;

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

  public void _jspInit() {
    _jspx_tagPool_c_set_var_value = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_c_set_var_value_scope = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_c_forEach_var_items_end_begin = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_c_if_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_display_table_requestURI_pagesize_name_id_export_class = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_display_column_width_title_property_headerClass_bgcolor = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_display_setProperty_value_name = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _jspx_tagPool_display_footer = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_c_set_var_value.release();
    _jspx_tagPool_c_set_var_value_scope.release();
    _jspx_tagPool_c_forEach_var_items_end_begin.release();
    _jspx_tagPool_c_if_test.release();
    _jspx_tagPool_display_table_requestURI_pagesize_name_id_export_class.release();
    _jspx_tagPool_display_column_width_title_property_headerClass_bgcolor.release();
    _jspx_tagPool_display_setProperty_value_name.release();
    _jspx_tagPool_display_footer.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;


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

      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");

String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

      out.write("\r\n");

	String p = request.getParameter("d-7804-p");
	if(p == null) {
		p = "1";
	}
	
	int start = Integer.parseInt(p) * 15 - 15;
	int end = Integer.parseInt(p) * 15 - 1;
 
      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n");
      out.write("<html>\r\n  ");
      out.write("<head>\r\n    ");
      out.write("<base href=\"");
      out.print(basePath);
      out.write("\">\r\n    \r\n    ");
      out.write("<title>查询结果");
      out.write("</title>\r\n    \r\n\t");
      out.write("<meta http-equiv=\"pragma\" content=\"no-cache\">\r\n\t");
      out.write("<meta http-equiv=\"cache-control\" content=\"no-cache\">\r\n\t");
      out.write("<meta http-equiv=\"expires\" content=\"0\">    \r\n\t");
      out.write("<meta http-equiv=\"keywords\" content=\"keyword1,keyword2,keyword3\">\r\n\t");
      out.write("<meta http-equiv=\"description\" content=\"This is my page\">\r\n\t");
      out.write("<!--\r\n\t");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"styles.css\">\r\n\t-->\r\n\r\n  ");
      out.write("</head>\r\n  ");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/Imis/imis_elec/css/style.css\">\r\n  \r\n  ");
      out.write("<body BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 scrolling=\"auto\" background=\"/Imis/imis_elec/images/bg_main.png\" class=\"ziti\">\r\n\r\n\t\t");
      out.write("<table width=\"90%\"  border=\"0\" align=\"center\">\r\n\t\t\t");
      out.write("<tr>\r\n\t\t\t\t");
      out.write("<td align=\"center\">");
      out.write("<img border=\"0\" src=\"/Imis/imis_elec/images/logomain.gif\" width=\"934\" height=\"65\">");
      out.write("</td>\r\n\t\t\t");
      out.write("</tr>\r\n\t\t\t");
      out.write("<tr>\r\n\t\t\t\t");
      out.write("<td>\r\n\t\t\t\t");
      if (_jspx_meth_c_set_0(pageContext))
        return;
      out.write("\r\n\t\t\t\t");
      if (_jspx_meth_c_set_1(pageContext))
        return;
      out.write("\r\n\t\t\t\t");
      if (_jspx_meth_c_set_2(pageContext))
        return;
      out.write("\r\n\t\t\t\t");
      if (_jspx_meth_c_set_3(pageContext))
        return;
      out.write("\r\n\t\t\t\t");
      if (_jspx_meth_c_set_4(pageContext))
        return;
      out.write("\r\n\t\t\t\t");
      if (_jspx_meth_c_set_5(pageContext))
        return;
      out.write("\r\n\t\t\t\t");
      if (_jspx_meth_c_set_6(pageContext))
        return;
      out.write("\r\n\t\t\t\t\r\n\t\t\t\t");
      //  c:forEach
      org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_forEach_0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _jspx_tagPool_c_forEach_var_items_end_begin.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
      _jspx_th_c_forEach_0.setPageContext(pageContext);
      _jspx_th_c_forEach_0.setParent(null);
      _jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.ElecUseInfoList}", java.lang.Object.class, (PageContext)pageContext, null, false));
      _jspx_th_c_forEach_0.setVar("item");
      _jspx_th_c_forEach_0.setBegin(start );
      _jspx_th_c_forEach_0.setEnd(end );
      int[] _jspx_push_body_count_c_forEach_0 = new int[] { 0 };
      try {
        int _jspx_eval_c_forEach_0 = _jspx_th_c_forEach_0.doStartTag();
        if (_jspx_eval_c_forEach_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
          do {
            out.write("\r\n\t\t\t\t\t");
            if (_jspx_meth_c_set_7(_jspx_th_c_forEach_0, pageContext, _jspx_push_body_count_c_forEach_0))
              return;
            out.write("\r\n\t\t\t\t\t");
            if (_jspx_meth_c_set_8(_jspx_th_c_forEach_0, pageContext, _jspx_push_body_count_c_forEach_0))
              return;
            out.write("\r\n\t\t\t\t\t");
            if (_jspx_meth_c_set_9(_jspx_th_c_forEach_0, pageContext, _jspx_push_body_count_c_forEach_0))
              return;
            out.write("\r\n\t\t\t\t\t");
            if (_jspx_meth_c_set_10(_jspx_th_c_forEach_0, pageContext, _jspx_push_body_count_c_forEach_0))
              return;
            out.write("\r\n\t\t\t\t\t");
            if (_jspx_meth_c_set_11(_jspx_th_c_forEach_0, pageContext, _jspx_push_body_count_c_forEach_0))
              return;
            out.write("\r\n\t\t\t\t\t");
            if (_jspx_meth_c_set_12(_jspx_th_c_forEach_0, pageContext, _jspx_push_body_count_c_forEach_0))
              return;
            out.write("\r\n\t\t\t\t\t");
            if (_jspx_meth_c_set_13(_jspx_th_c_forEach_0, pageContext, _jspx_push_body_count_c_forEach_0))
              return;
            out.write("\r\n\t\t\t\t");
            int evalDoAfterBody = _jspx_th_c_forEach_0.doAfterBody();
            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
              break;
          } while (true);
        }
        if (_jspx_th_c_forEach_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
          return;
      } catch (Throwable _jspx_exception) {
        while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
          out = pageContext.popBody();
        _jspx_th_c_forEach_0.doCatch(_jspx_exception);
      } finally {
        _jspx_th_c_forEach_0.doFinally();
        _jspx_tagPool_c_forEach_var_items_end_begin.reuse(_jspx_th_c_forEach_0);
      }
      out.write("\r\n\t\t\t\t");

					String s = request.getAttribute("sum").toString();
					DecimalFormat format = new DecimalFormat("#########.###");
					s = format.format(Double.parseDouble(s));
					request.setAttribute("sum", s);
				 
      out.write("\r\n\t\t\t\t");
      out.write("</td>\r\n\t\t\t");
      out.write("</tr>\t\t\r\n  \t\t\t");
      out.write("<tr>\r\n    \t\t\t");
      out.write("<td>\t\r\n\t\t\t\t\t");
      //  c:if
      org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_if_0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _jspx_tagPool_c_if_test.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
      _jspx_th_c_if_0.setPageContext(pageContext);
      _jspx_th_c_if_0.setParent(null);
      _jspx_th_c_if_0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${sessionScope.ElecUseInfoList!=null}", java.lang.Boolean.class, (PageContext)pageContext, null, false)).booleanValue());
      int _jspx_eval_c_if_0 = _jspx_th_c_if_0.doStartTag();
      if (_jspx_eval_c_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write(" \r\n\t\t\t\t\t    ");
          out.write("<hr/>");
          out.write("<br/>\r\n\t\t\t            ");
          out.write("<h3 align=\"center\">查&nbsp;&nbsp;询&nbsp;&nbsp;结&nbsp;&nbsp;果");
          out.write("</h3>\r\n\t\t\t            ");
          //  display:table
          org.displaytag.tags.TableTag _jspx_th_display_table_0 = (org.displaytag.tags.TableTag) _jspx_tagPool_display_table_requestURI_pagesize_name_id_export_class.get(org.displaytag.tags.TableTag.class);
          _jspx_th_display_table_0.setPageContext(pageContext);
          _jspx_th_display_table_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_if_0);
          _jspx_th_display_table_0.setName(new String("sessionScope.ElecUseInfoList"));
          _jspx_th_display_table_0.setId("elecUseInfo");
          _jspx_th_display_table_0.setPagesize(15);
          _jspx_th_display_table_0.setRequestURI("/Imis/imis_elec/elecUseInfoBySearch.jsp");
          _jspx_th_display_table_0.setExport(true);
          _jspx_th_display_table_0.setClass("ziti");
          int _jspx_eval_display_table_0 = _jspx_th_display_table_0.doStartTag();
          if (_jspx_eval_display_table_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            java.lang.Object elecUseInfo = null;
            java.lang.Integer elecUseInfo_rowNum = null;
            org.displaytag.properties.MediaTypeEnum mediaType = null;
            if (_jspx_eval_display_table_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = pageContext.pushBody();
              _jspx_th_display_table_0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_display_table_0.doInitBody();
            }
            elecUseInfo = (java.lang.Object) pageContext.findAttribute("elecUseInfo");
            elecUseInfo_rowNum = (java.lang.Integer) pageContext.findAttribute("elecUseInfo_rowNum");

⌨️ 快捷键说明

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