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

📄 _257_005fcodestatlist_jsp.java

📁 一个小公司要求给写的很简单的任务管理系统。
💻 JAVA
字号:
package org.apache.jsp.trend._257;

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

public final class _257_005fcodeStatList_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(1);
    _jspx_dependants.add("/WEB-INF/tld/c.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_forEach_var_items;

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

  public void _jspInit() {
    _jspx_tagPool_c_forEach_var_items = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _jspx_tagPool_c_forEach_var_items.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=gbk");
      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("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n");
      out.write("<title>新疆福利彩票 - 25选7 中奖情况统计表</title>\r\n");
      out.write("<link href=\"../../css/tools.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
      out.write("<script src=\"/trend/openprizetrend.js\"></script>\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("<!--\r\n");
      out.write("function changeSelect(obj){\r\n");
      out.write("var page=obj.value;\r\n");
      out.write("window.location.href='/trend/analyse257.do?operator=codeStatList&pageCount='+page;\r\n");
      out.write("}\r\n");
      out.write("function changequery(){\r\n");
      out.write("var drawBegin=document.all('drawBegin').value;\r\n");
      out.write("if(drawBegin==''){\r\n");
      out.write("alert('请输入开始期号!');\r\n");
      out.write("document.all('drawBegin').focus();\r\n");
      out.write("return false;\r\n");
      out.write("}\r\n");
      out.write("var drawEnd=document.all('drawEnd').value;\r\n");
      out.write("if(drawEnd==''){\r\n");
      out.write("alert('请输入终止期号!');\r\n");
      out.write("document.all('drawEnd').focus();\r\n");
      out.write("return false;\r\n");
      out.write("}\r\n");
      out.write("if(!validateCharEare3(drawBegin)){\r\n");
      out.write("alert('开始期号只允许数字!');\r\n");
      out.write("document.all('drawBegin').value='';\r\n");
      out.write("document.all('drawBegin').focus();\r\n");
      out.write("return false;\r\n");
      out.write("}\r\n");
      out.write("if(!validateCharEare3(drawEnd)){\r\n");
      out.write("alert('终止期号只允许数字!');\r\n");
      out.write("document.all('drawEnd').value='';\r\n");
      out.write("document.all('drawEnd').focus();\r\n");
      out.write("return false;\r\n");
      out.write("}\r\n");
      out.write("if(parseInt(drawBegin)>parseInt(drawEnd)){\r\n");
      out.write("alert('开始期号不能大于终止期号!!');\r\n");
      out.write("document.all('drawEnd').focus();\r\n");
      out.write("return false;\r\n");
      out.write("}\r\n");
      out.write("window.location.href='/trend/analyse257.do?operator=codeStatList&type=draw&drawBegin='+drawBegin+'&drawEnd='+drawEnd;\r\n");
      out.write("}\r\n");
      out.write("//-->\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body onunload=\"clearwindow();\">\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../../inc/header_trend_257.jsp", out, true);
      out.write("\r\n");
      out.write("<div id=\"main\">\r\n");
      out.write("  <div id=\"m2\">\r\n");
      out.write("    <table width=\"960\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td width=\"81\" class=\"li1\">中奖情况统计</td>\r\n");
      out.write("        <td width=\"80\" class=\"li2\"><a href=\"/trend/analyse257.do?operator=codeSpecil\">中奖号码特点</a></td>\r\n");
      out.write("        <td width=\"82\" class=\"li2\"><a href=\"/trend/analyse257.do?operator=codeDistributing\">中奖号码分布</a></td>\r\n");
      out.write("        <td width=\"81\" class=\"li2\"><a href=\"/trend/257/257_fushi_dj.jsp\">复式兑奖表</a></td>\r\n");
      out.write("        <td width=\"81\" class=\"li2\"><a href=\"http://www.xjfc.com/download/dtdj257.rar\" target=\"_blank\">胆拖兑奖表</a></td>\r\n");
      out.write("        <td width=\"555\"></td>\r\n");
      out.write("      </tr>\r\n");
      out.write("    </table>\r\n");
      out.write("  </div>\r\n");
      out.write("  <div id=\"m3\">\r\n");
      out.write("    <table width=\"930\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"mytable\" id=\"tab\" >\r\n");
      out.write("\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td height=\"24\" colspan=\"21\">25选7玩法 中奖情况\r\n");
      out.write("          <select name=\"pageCount\" onchange=\"changeSelect(this)\">\r\n");
      out.write("           \t<option value=\"\" >请选择</option>           \t  \r\n");
      out.write("              <option value=\"10\" >前10期</option>\r\n");
      out.write("              <option value=\"20\">前20期</option>\r\n");
      out.write("              <option value=\"30\">前30期</option>\r\n");
      out.write("              <option value=\"50\">前50期</option>\r\n");
      out.write("              <option value=\"100\">前100期</option>\r\n");
      out.write("        </select>\r\n");
      out.write("        <script type=\"text/javascript\">\r\n");
      out.write("\t\tdocument.all('pageCount').value='");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageCount}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("';\r\n");
      out.write("\t\t</script>\r\n");
      out.write("         &nbsp;&nbsp;&nbsp;开始期\r\n");
      out.write("  \t\t<input name=\"drawBegin\" type=\"text\" size=\"10\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${drawBegin}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\"/>\r\n");
      out.write("  \t\t&nbsp;&nbsp;&nbsp;终止期\r\n");
      out.write("  \t\t<input name=\"drawEnd\" type=\"text\" size=\"10\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${drawEnd}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\"/>\r\n");
      out.write("  \t\t&nbsp;\r\n");
      out.write("  \t\t <input type=\"image\" src=\"/img/member/search.gif\" width=\"49\" height=\"20\" onclick=\"changequery();\" >\r\n");
      out.write("        </td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      <tr>\r\n");
      out.write("        <td width=\"127\" rowspan=\"2\" class=\"t3\">期号</td>\r\n");
      out.write("        <td width=\"180\" rowspan=\"2\" class=\"t3\">开奖日期</td>\r\n");
      out.write("\r\n");
      out.write("        <td colspan=\"3\" rowspan=\"2\" class=\"t3\">基本号码</td>\r\n");
      out.write("        <td colspan=\"3\" rowspan=\"2\" class=\"t3\">特别号码</td>\r\n");
      out.write("        <td colspan=\"3\" class=\"t3\">中奖情况(特等)</td>\r\n");
      out.write("      </tr>\r\n");
      out.write("      <tr class=\"black-bolder\">\r\n");
      out.write("        <td width=\"127\" class=\"black-border\"><strong>金额(元)</strong></td>\r\n");
      out.write("        <td width=\"120\" colspan=\"2\" class=\"black-border\">注数</td>\r\n");
      out.write("      </tr>\r\n");
      out.write("       ");
      if (_jspx_meth_c_forEach_0(_jspx_page_context))
        return;
      out.write("      \r\n");
      out.write("    </table>\r\n");
      out.write("  </div>\r\n");
      out.write("</div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("</body>\r\n");
      out.write("</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);
    }
  }

  private boolean _jspx_meth_c_forEach_0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  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.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_forEach_0.setPageContext(_jspx_page_context);
    _jspx_th_c_forEach_0.setParent(null);
    _jspx_th_c_forEach_0.setItems((java.lang.Object) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${codeStatList}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
    _jspx_th_c_forEach_0.setVar("code");
    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");
          out.write("      <tr>\r\n");
          out.write("         <td><div align=\"center\"><a href=\"#\" onclick=\"detatil257('");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${code.lotteryDraw}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("');\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${code.lotteryDraw}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("</a></div></td>\r\n");
          out.write("        <td>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${code.prizeTime2}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("</td>\r\n");
          out.write("        <td colspan=\"3\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${code.baseCode}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write(" </td>\r\n");
          out.write("        <td colspan=\"3\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${code.specilCode }", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("</td>\r\n");
          out.write("        <td>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${code.prizeBonus2}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write(" 元</td>\r\n");
          out.write("        <td colspan=\"2\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${code.prizeCount}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("</td>\r\n");
          out.write("      </tr>\r\n");
          out.write("      ");
          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 true;
    } catch (Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_forEach_0[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_forEach_0.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_forEach_0.doFinally();
      _jspx_tagPool_c_forEach_var_items.reuse(_jspx_th_c_forEach_0);
    }
    return false;
  }
}

⌨️ 快捷键说明

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