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

📄 d02_jsp.java

📁 持久层hibernate技术使用的一个例子
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
                    return;
                  out.write("\r\n");
                  out.write("      \t  </a>      \t\r\n");
                  out.write("      \t</td>\r\n");
                  out.write("    ");
                  //  logic:iterate
                  org.apache.struts.taglib.logic.IterateTag _jspx_th_logic_iterate_1 = (org.apache.struts.taglib.logic.IterateTag) _jspx_tagPool_logic_iterate_property_name_id.get(org.apache.struts.taglib.logic.IterateTag.class);
                  _jspx_th_logic_iterate_1.setPageContext(_jspx_page_context);
                  _jspx_th_logic_iterate_1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
                  _jspx_th_logic_iterate_1.setId("mh");
                  _jspx_th_logic_iterate_1.setName("mht");
                  _jspx_th_logic_iterate_1.setProperty("mhelp");
                  int _jspx_eval_logic_iterate_1 = _jspx_th_logic_iterate_1.doStartTag();
                  if (_jspx_eval_logic_iterate_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                    java.lang.Object mh = null;
                    if (_jspx_eval_logic_iterate_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                      out = _jspx_page_context.pushBody();
                      _jspx_th_logic_iterate_1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
                      _jspx_th_logic_iterate_1.doInitBody();
                    }
                    mh = (java.lang.Object) _jspx_page_context.findAttribute("mh");
                    do {
                      out.write("\r\n");
                      out.write("        <td align=\"center\">\r\n");
                      out.write("          <a href=\"/U01MHelpSearch.do?method=find&hId=");
                      if (_jspx_meth_bean_write_3(_jspx_th_logic_iterate_1, _jspx_page_context))
                        return;
                      out.write("\">\r\n");
                      out.write("            ");
                      if (_jspx_meth_bean_write_4(_jspx_th_logic_iterate_1, _jspx_page_context))
                        return;
                      out.write("\r\n");
                      out.write("          </a>\r\n");
                      out.write("        </td>\r\n");
                      out.write("      \t<td align=\"center\">");
                      if (_jspx_meth_html_multibox_0(_jspx_th_logic_iterate_1, _jspx_page_context))
                        return;
                      out.write("</td>\r\n");
                      out.write("     </tr>\r\n");
                      out.write("     <tr bgcolor=\"#FFFFFF\">\r\n");
                      out.write("   ");
                      int evalDoAfterBody = _jspx_th_logic_iterate_1.doAfterBody();
                      mh = (java.lang.Object) _jspx_page_context.findAttribute("mh");
                      if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                        break;
                    } while (true);
                    if (_jspx_eval_logic_iterate_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
                      out = _jspx_page_context.popBody();
                  }
                  if (_jspx_th_logic_iterate_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
                    return;
                  _jspx_tagPool_logic_iterate_property_name_id.reuse(_jspx_th_logic_iterate_1);
                  out.write(" \r\n");
                  out.write("   \r\n");
                  out.write("     </tr>\r\n");
                  out.write("   ");
                  int evalDoAfterBody = _jspx_th_logic_iterate_0.doAfterBody();
                  mht = (java.lang.Object) _jspx_page_context.findAttribute("mht");
                  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("\r\n");
              out.write("   ");
              int evalDoAfterBody = _jspx_th_logic_present_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
          }
          if (_jspx_th_logic_present_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_logic_present_name.reuse(_jspx_th_logic_present_0);
          out.write("\r\n");
          out.write("  </table>\r\n");
          out.write("      &nbsp;&nbsp;&nbsp;&nbsp;\r\n");
          out.write("      <br />\r\n");
          out.write("      <center>全选<input type=\"checkbox\" name=\"all_select\" value=\"checkbox\" onClick=\"setValue(this)\" class=\"input-checkbox\">\r\n");
          out.write("      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n");
          out.write("     \t\t");
          if (_jspx_meth_html_submit_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("\t\t\t");
          if (_jspx_meth_html_errors_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("\t  </center><br><br>\r\n");
          out.write("<table width=\"80%\"  border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"0\">\r\n");
          out.write("      <tr >\r\n");
          out.write("        <td><span class=\"font_title\">添加帮助</span></td>\r\n");
          out.write("        </tr>\r\n");
          out.write("    </table>  \r\n");
          out.write("<table width=\"80%\"  border=\"0\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" bgcolor=\"#7AA1E6\">\r\n");
          out.write("  <tr align=\"center\" bordercolor=\"1\" bgcolor=\"#FFFFFF\">\r\n");
          out.write("    <td width=\"33%\" align=\"center\">帮助标题:</td>\r\n");
          out.write("    <td colspan=\"2\" align=\"left\">      \r\n");
          out.write("        ");
          if (_jspx_meth_html_text_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("        ");
          if (_jspx_meth_html_errors_1(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("    </td>\r\n");
          out.write("  </tr>\r\n");
          out.write("  <tr align=\"center\" bordercolor=\"1\" bgcolor=\"#FFFFFF\">\r\n");
          out.write("    <td align=\"center\">帮助分类:</td>\r\n");
          out.write("    <td width=\"18%\">\r\n");
          out.write("      ");
          if (_jspx_meth_html_select_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("      \r\n");
          out.write("    </td>\r\n");
          out.write("    <td width=\"48%\" align=\"left\">\r\n");
          out.write("      ");
          if (_jspx_meth_html_text_1(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("      ");
          if (_jspx_meth_html_errors_2(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("    </td>\r\n");
          out.write("  </tr>\r\n");
          out.write("  <tr align=\"center\" bordercolor=\"1\" bgcolor=\"#FFFFFF\">\r\n");
          out.write("    <td align=\"center\">帮助内容:</td>\r\n");
          out.write("    <td colspan=\"2\" align=\"left\">      \r\n");
          out.write("        ");
          if (_jspx_meth_html_textarea_0(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("        ");
          if (_jspx_meth_html_errors_3(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("    </td>\r\n");
          out.write("  </tr>\r\n");
          out.write("</table>  \r\n");
          out.write("  <br/><br/>\r\n");
          out.write("  <center>\r\n");
          out.write("  ");
          if (_jspx_meth_html_submit_1(_jspx_th_html_form_0, _jspx_page_context))
            return;
          out.write("\r\n");
          out.write("  </center>\r\n");
          int evalDoAfterBody = _jspx_th_html_form_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_html_form_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_html_form_action.reuse(_jspx_th_html_form_0);
      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_html_hidden_0(javax.servlet.jsp.tagext.JspTag _jspx_th_html_form_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  html:hidden
    org.apache.struts.taglib.html.HiddenTag _jspx_th_html_hidden_0 = (org.apache.struts.taglib.html.HiddenTag) _jspx_tagPool_html_hidden_value_property_nobody.get(org.apache.struts.taglib.html.HiddenTag.class);
    _jspx_th_html_hidden_0.setPageContext(_jspx_page_context);
    _jspx_th_html_hidden_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_html_form_0);
    _jspx_th_html_hidden_0.setProperty("method");
    _jspx_th_html_hidden_0.setValue("insert");
    int _jspx_eval_html_hidden_0 = _jspx_th_html_hidden_0.doStartTag();
    if (_jspx_th_html_hidden_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_html_hidden_value_property_nobody.reuse(_jspx_th_html_hidden_0);
    return false;
  }

  private boolean _jspx_meth_bean_write_0(javax.servlet.jsp.tagext.JspTag _jspx_th_logic_iterate_0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  bean:write
    org.apache.struts.taglib.bean.WriteTag _jspx_th_bean_write_0 = (org.apache.struts.taglib.bean.WriteTag) _jspx_tagPool_bean_write_property_name_nobody.get(org.apache.struts.taglib.bean.WriteTag.class);
    _jspx_th_bean_write_0.setPageContext(_jspx_page_context);
    _jspx_th_bean_write_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_logic_iterate_0);
    _jspx_th_bean_write_0.setName("mht");
    _jspx_th_bean_write_0.setProperty("count");

⌨️ 快捷键说明

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