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

📄 winlistall_jsp.java

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

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

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

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

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

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

  public void _jspDestroy() {
    _jspx_tagPool_c_forEach_varStatus_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("\r\n");
      out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");

String contextpath=request.getContextPath();

      out.write("\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gbk\" />\r\n");
      out.write("<title>新疆福利彩票网会员中心</title>\r\n");
      out.write("<link href=\"");
      out.print(request.getContextPath());
      out.write("/css/index.css\" rel=\"stylesheet\" type=\"text/css\" /></head>\r\n");
      out.write("<link href=\"");
      out.print(request.getContextPath());
      out.write("/css/mb.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
      out.write("<script type=\"text/javascript\">\r\n");
      out.write("var newwindow;\r\n");
      out.write("function clearwindow(){\r\n");
      out.write("if(newwindow){\r\n");
      out.write("newwindow.close();\r\n");
      out.write("}\r\n");
      out.write("}\r\n");
      out.write("function detatil(gameId,stakeId){\r\n");
      out.write("  \tclearwindow();\r\n");
      out.write("\tvar url='/member/memberquery.do?operate=recentStakeDetail&gameId='+gameId+'&stakeId='+stakeId;\r\n");
      out.write("\tnewwindow= window.open (url, \"\", \"height=550, width=750, toolbar =no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no\")\r\n");
      out.write("}\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<!-- top-->\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "member_top.jsp", out, true);
      out.write("\r\n");
      out.write("<!--left-->\r\n");
      out.write("<div class=\"main\">\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "member_left.jsp", out, true);
      out.write("\r\n");
      out.write("<!--会员中心 right-->\r\n");
      out.write("<div class=\"right\">\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "member_right.jsp", out, true);
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("   <div class=\"greybar1\">直投中奖明细</div>\r\n");
      out.write("   <div class=\"r6_a\">\r\n");
      out.write("     <table width=\"700\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\r\n");
      out.write("       <tr>\r\n");
      out.write("         <td>\r\n");
      out.write("\t\t <img src=\"/member/images/mb_36_a1.gif\">\r\n");
      out.write("\t\t <img style=\"cursor:hand;\" src=\"/member/images/mb_36_b.gif\"  onclick=\"window.location.href='memberquery.do?operate=myPrizeHemaiList'\"/></td>\r\n");
      out.write("       </tr>\r\n");
      out.write("     </table>\r\n");
      out.write("     <table width=\"700\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\">\r\n");
      out.write("       <tr>\r\n");
      out.write("         <td height=\"25\" id=\"title\">订单号</td>\r\n");
      out.write("          <td id=\"title\">投注时间</td>\r\n");
      out.write("         <td id=\"title\">彩种<br>玩法</td>        \r\n");
      out.write("         <td id=\"title\">期号</td>\r\n");
      out.write("         <td id=\"title\">投注号码</td>\r\n");
      out.write("         <td id=\"title\">倍数</td>\r\n");
      out.write("         <td id=\"title\">投注金额<br>(元)</td>\r\n");
      out.write("         <td id=\"title\">开奖号码</td>\r\n");
      out.write("         <td id=\"title\">中奖金额</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 class=\"r3\">\r\n");
      out.write("      ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pager}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
      out.write("\r\n");
      out.write("   </div>\r\n");
      out.write("</div>\r\n");
      out.write("\r\n");
      out.write("<div class=\"footdiv\">\r\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "../../inc/footer.jsp", out, true);
      out.write("\r\n");
      out.write("</div>\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_varStatus_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("${stakes}", java.lang.Object.class, (PageContext)_jspx_page_context, null, false));
    _jspx_th_c_forEach_0.setVar("stake");
    _jspx_th_c_forEach_0.setVarStatus("seri");
    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><a href=\"#\" onClick=\"detatil('");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stake.gameId}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write('\'');
          out.write(',');
          out.write('\'');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stake.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("');\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stake.id}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("</a></td>\r\n");
          out.write("         <td>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stake.createTime3}", 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("${stake.strLotteryGame}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("<br>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stake.strPlayType}", 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("${stake.lotteryDraw}", 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("${stake.stakeNumberShortFormat}", 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("${stake.multiple}", 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("${stake.moneyTotalFormat}", 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("${stake.openResult}", java.lang.String.class, (PageContext)_jspx_page_context, null, false));
          out.write("       \r\n");
          out.write("         <td>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${stake.bonusFormat}", 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_varStatus_var_items.reuse(_jspx_th_c_forEach_0);
    }
    return false;
  }
}

⌨️ 快捷键说明

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