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

📄 __vote.java

📁 一个论坛的实例
💻 JAVA
📖 第 1 页 / 共 5 页
字号:
    javax.servlet.ServletConfig config = getServletConfig();
    javax.servlet.ServletContext application = config.getServletContext();
    javax.servlet.jsp.tagext.Tag _activeTag = null;
    // variables for Tag extension protocol    int _int0 = 0, _int1 = 0, _int2 = 0;    org.apache.struts.taglib.bean.MessageTag _bean_message0 = null;    com.laoer.bbscs.web.tag.PostTag _bbscs_Post0 = null;    org.apache.struts.taglib.html.SubmitTag _html_submit0 = null;    org.apache.struts.taglib.html.OptionsTag _html_options0 = null;    org.apache.struts.taglib.html.ButtonTag _html_button0 = null;    org.apache.struts.taglib.html.ErrorsTag _html_errors0 = null;    org.apache.struts.taglib.html.ResetTag _html_reset0 = null;    org.apache.struts.taglib.html.TextTag _html_text0 = null;    org.apache.struts.taglib.html.TextareaTag _html_textarea0 = null;    org.apache.struts.taglib.html.HiddenTag _html_hidden0 = null;    org.apache.struts.taglib.html.FormTag _html_form0 = null;    org.apache.struts.taglib.html.SelectTag _html_select0 = null;    org.apache.struts.taglib.html.RadioTag _html_radio0 = null;    
    Object page = this;
    javax.servlet.jsp.JspWriter out;
    javax.servlet.jsp.PageContext pageContext =    javax.servlet.jsp.JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 8192, true);    
    response.setHeader("Content-Type", "text/html; charset=UTF-8");    out = pageContext.getOut();    JspWriter _originalOut = out;    
    javax.servlet.http.HttpSession session = request.getSession(true);    
    
    
    try { // error page try block            response.setContentType("text/html; charset=UTF-8");            _writeText(response, out, _wl_block0, _wl_block0Bytes);      _writeText(response, out, _wl_block1, _wl_block1Bytes);      //[ /vote.jsp; Line: 7]      pageContext.setAttribute("yearValues",Constant.YEAR); //[ /vote.jsp; Line: 8]      pageContext.setAttribute("monValues",Constant.MON); //[ /vote.jsp; Line: 9]      pageContext.setAttribute("dayValues",Constant.DAY); //[ /vote.jsp; Line: 10]      _writeText(response, out, _wl_block2, _wl_block2Bytes);      //^%$__TAG_CODEGEN : begin message custom tag block... //[ /vote.jsp; Line: 15]      /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 15]      if (_bean_message0 == null) _bean_message0 = new org.apache.struts.taglib.bean.MessageTag(); //[ /vote.jsp; Line: 15]      _bean_message0.setPageContext(pageContext); //[ /vote.jsp; Line: 15]      _bean_message0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /vote.jsp; Line: 15]      _activeTag = _bean_message0; //[ /vote.jsp; Line: 15]      _bean_message0.setKey(weblogic.utils.StringUtils.valueOf("vote.title")); //[ /vote.jsp; Line: 15]      _int0 = _bean_message0.doStartTag(); //[ /vote.jsp; Line: 15]      if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /vote.jsp; Line: 15]        throw new JspTagException("Since tag class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /vote.jsp; Line: 15]      } //[ /vote.jsp; Line: 15]      /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 15]      _int0 = _bean_message0.doEndTag(); //[ /vote.jsp; Line: 15]      if (_int0 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_message0); return; } //[ /vote.jsp; Line: 15]      _activeTag = _bean_message0.getParent(); _bean_message0.release(); //[ /vote.jsp; Line: 15]      /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 15]      /*** declare & sync AT_END TagExtra Vars here ***/ //[ /vote.jsp; Line: 15]      _writeText(response, out, _wl_block3, _wl_block3Bytes);      //^%$__TAG_CODEGEN : begin form custom tag block... //[ /vote.jsp; Line: 21]      /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 21]      if (_html_form0 == null) _html_form0 = new org.apache.struts.taglib.html.FormTag(); //[ /vote.jsp; Line: 21]      _html_form0.setPageContext(pageContext); //[ /vote.jsp; Line: 21]      _html_form0.setParent((javax.servlet.jsp.tagext.Tag)null); //[ /vote.jsp; Line: 21]      _activeTag = _html_form0; //[ /vote.jsp; Line: 21]      _html_form0.setAction(weblogic.utils.StringUtils.valueOf("/votePost")); //[ /vote.jsp; Line: 21]      _html_form0.setMethod(weblogic.utils.StringUtils.valueOf("post")); //[ /vote.jsp; Line: 21]      _int0 = _html_form0.doStartTag(); //[ /vote.jsp; Line: 21]      if (_int0 == BodyTag.EVAL_BODY_BUFFERED) { //[ /vote.jsp; Line: 21]        throw new JspTagException("Since tag class org.apache.struts.taglib.html.FormTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /vote.jsp; Line: 21]      } //[ /vote.jsp; Line: 21]      /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 21]      if (_int0 != Tag.SKIP_BODY) { // begin !SKIP_BODY... //[ /vote.jsp; Line: 21]        do { //[ /vote.jsp; Line: 21]          /*** sync AT_BEGIN Vars after doInitBody ***/ //[ /vote.jsp; Line: 21]          /*** declare & sync NESTED TagExtra Vars here ***/ //[ /vote.jsp; Line: 21]          _writeText(response, out, _wl_block4, _wl_block4Bytes);          //^%$__TAG_CODEGEN : begin hidden custom tag block... //[ /vote.jsp; Line: 22]          /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 22]          if (_html_hidden0 == null) _html_hidden0 = new org.apache.struts.taglib.html.HiddenTag(); //[ /vote.jsp; Line: 22]          _html_hidden0.setPageContext(pageContext); //[ /vote.jsp; Line: 22]          _html_hidden0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /vote.jsp; Line: 22]          _activeTag = _html_hidden0; //[ /vote.jsp; Line: 22]          _html_hidden0.setProperty(weblogic.utils.StringUtils.valueOf("bid")); //[ /vote.jsp; Line: 22]          _int1 = _html_hidden0.doStartTag(); //[ /vote.jsp; Line: 22]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 22]          weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_hidden0, _int1, true); //[ /vote.jsp; Line: 22]          if (_html_hidden0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_hidden0); return; } //[ /vote.jsp; Line: 22]          _activeTag = _html_hidden0.getParent(); _html_hidden0.release(); //[ /vote.jsp; Line: 22]          //end hidden custom tag.... //[ /vote.jsp; Line: 22]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 22]          /*** declare & sync AT_END TagExtra Vars here ***/ //[ /vote.jsp; Line: 22]          _writeText(response, out, _wl_block5, _wl_block5Bytes);          //^%$__TAG_CODEGEN : begin hidden custom tag block... //[ /vote.jsp; Line: 23]          /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 23]          if (_html_hidden0 == null) _html_hidden0 = new org.apache.struts.taglib.html.HiddenTag(); //[ /vote.jsp; Line: 23]          _html_hidden0.setPageContext(pageContext); //[ /vote.jsp; Line: 23]          _html_hidden0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /vote.jsp; Line: 23]          _activeTag = _html_hidden0; //[ /vote.jsp; Line: 23]          _html_hidden0.setProperty(weblogic.utils.StringUtils.valueOf("action")); //[ /vote.jsp; Line: 23]          _int1 = _html_hidden0.doStartTag(); //[ /vote.jsp; Line: 23]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 23]          weblogic.servlet.jsp.StandardTagLib.fakeEmptyBodyTag(pageContext, _html_hidden0, _int1, true); //[ /vote.jsp; Line: 23]          if (_html_hidden0.doEndTag() == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_hidden0); return; } //[ /vote.jsp; Line: 23]          _activeTag = _html_hidden0.getParent(); _html_hidden0.release(); //[ /vote.jsp; Line: 23]          //end hidden custom tag.... //[ /vote.jsp; Line: 23]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 23]          /*** declare & sync AT_END TagExtra Vars here ***/ //[ /vote.jsp; Line: 23]          _writeText(response, out, _wl_block6, _wl_block6Bytes);          //^%$__TAG_CODEGEN : begin errors custom tag block... //[ /vote.jsp; Line: 27]          /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 27]          if (_html_errors0 == null) _html_errors0 = new org.apache.struts.taglib.html.ErrorsTag(); //[ /vote.jsp; Line: 27]          _html_errors0.setPageContext(pageContext); //[ /vote.jsp; Line: 27]          _html_errors0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /vote.jsp; Line: 27]          _activeTag = _html_errors0; //[ /vote.jsp; Line: 27]          _int1 = _html_errors0.doStartTag(); //[ /vote.jsp; Line: 27]          if (_int1 == BodyTag.EVAL_BODY_BUFFERED) { //[ /vote.jsp; Line: 27]            throw new JspTagException("Since tag class org.apache.struts.taglib.html.ErrorsTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /vote.jsp; Line: 27]          } //[ /vote.jsp; Line: 27]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 27]          _int1 = _html_errors0.doEndTag(); //[ /vote.jsp; Line: 27]          if (_int1 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_html_errors0); return; } //[ /vote.jsp; Line: 27]          _activeTag = _html_errors0.getParent(); _html_errors0.release(); //[ /vote.jsp; Line: 27]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 27]          /*** declare & sync AT_END TagExtra Vars here ***/ //[ /vote.jsp; Line: 27]          _writeText(response, out, _wl_block7, _wl_block7Bytes);          //^%$__TAG_CODEGEN : begin Post custom tag block... //[ /vote.jsp; Line: 35]          /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 35]          if (_bbscs_Post0 == null) _bbscs_Post0 = new com.laoer.bbscs.web.tag.PostTag(); //[ /vote.jsp; Line: 35]          _bbscs_Post0.setPageContext(pageContext); //[ /vote.jsp; Line: 35]          _bbscs_Post0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /vote.jsp; Line: 35]          _activeTag = _bbscs_Post0; //[ /vote.jsp; Line: 35]          _bbscs_Post0.setType(weblogic.utils.StringUtils.valueOf("votenotice")); //[ /vote.jsp; Line: 35]          _bbscs_Post0.setUserCheck(weblogic.utils.StringUtils.valueOf("uc")); //[ /vote.jsp; Line: 35]          _bbscs_Post0.setForm(weblogic.utils.StringUtils.valueOf("votePostForm")); //[ /vote.jsp; Line: 35]          _bbscs_Post0.setScope(weblogic.utils.StringUtils.valueOf("request")); //[ /vote.jsp; Line: 35]          _bbscs_Post0.setProperty(weblogic.utils.StringUtils.valueOf("bid")); //[ /vote.jsp; Line: 35]          _int1 = _bbscs_Post0.doStartTag(); //[ /vote.jsp; Line: 35]          if (_int1 == BodyTag.EVAL_BODY_BUFFERED) { //[ /vote.jsp; Line: 35]            throw new JspTagException("Since tag class com.laoer.bbscs.web.tag.PostTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /vote.jsp; Line: 35]          } //[ /vote.jsp; Line: 35]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 35]          _int1 = _bbscs_Post0.doEndTag(); //[ /vote.jsp; Line: 35]          if (_int1 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bbscs_Post0); return; } //[ /vote.jsp; Line: 35]          _activeTag = _bbscs_Post0.getParent(); _bbscs_Post0.release(); //[ /vote.jsp; Line: 35]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 35]          /*** declare & sync AT_END TagExtra Vars here ***/ //[ /vote.jsp; Line: 35]          _writeText(response, out, _wl_block8, _wl_block8Bytes);          //^%$__TAG_CODEGEN : begin message custom tag block... //[ /vote.jsp; Line: 38]          /*** declare AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 38]          if (_bean_message0 == null) _bean_message0 = new org.apache.struts.taglib.bean.MessageTag(); //[ /vote.jsp; Line: 38]          _bean_message0.setPageContext(pageContext); //[ /vote.jsp; Line: 38]          _bean_message0.setParent((javax.servlet.jsp.tagext.Tag)_html_form0); //[ /vote.jsp; Line: 38]          _activeTag = _bean_message0; //[ /vote.jsp; Line: 38]          _bean_message0.setKey(weblogic.utils.StringUtils.valueOf("vote.votetitle")); //[ /vote.jsp; Line: 38]          _int1 = _bean_message0.doStartTag(); //[ /vote.jsp; Line: 38]          if (_int1 == BodyTag.EVAL_BODY_BUFFERED) { //[ /vote.jsp; Line: 38]            throw new JspTagException("Since tag class org.apache.struts.taglib.bean.MessageTag does not implement BodyTag, it cannot return BodyTag.EVAL_BODY_BUFFERED"); //[ /vote.jsp; Line: 38]          } //[ /vote.jsp; Line: 38]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 38]          _int1 = _bean_message0.doEndTag(); //[ /vote.jsp; Line: 38]          if (_int1 == Tag.SKIP_PAGE) { _activeTag = null; _releaseTags(_bean_message0); return; } //[ /vote.jsp; Line: 38]          _activeTag = _bean_message0.getParent(); _bean_message0.release(); //[ /vote.jsp; Line: 38]          /*** sync AT_BEGIN TagExtra Vars here ***/ //[ /vote.jsp; Line: 38]

⌨️ 快捷键说明

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