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

📄 consult_005fadd_jsp.java

📁 一个简单的java web项目 基于servlet构建
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
      out.write("\t<body leftmargin=\"0\" topmargin=\"0\" class=\"bgOffice\" style=\"width:98%;overflow-x:hidden;overflow-y:auto\">\r\n");
      out.write("\t\t");
      //  s:form
      org.apache.struts2.views.jsp.ui.FormTag _jspx_th_s_005fform_005f0 = (org.apache.struts2.views.jsp.ui.FormTag) _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005faction.get(org.apache.struts2.views.jsp.ui.FormTag.class);
      _jspx_th_s_005fform_005f0.setPageContext(_jspx_page_context);
      _jspx_th_s_005fform_005f0.setParent(null);
      _jspx_th_s_005fform_005f0.setName("form");
      _jspx_th_s_005fform_005f0.setAction("create");
      _jspx_th_s_005fform_005f0.setMethod("post");
      int _jspx_eval_s_005fform_005f0 = _jspx_th_s_005fform_005f0.doStartTag();
      if (_jspx_eval_s_005fform_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        if (_jspx_eval_s_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.pushBody();
          _jspx_th_s_005fform_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
          _jspx_th_s_005fform_005f0.doInitBody();
        }
        do {
          out.write("\r\n");
          out.write("\t\t<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;height:100%;\">\r\n");
          out.write("\t\t\t<tr>\r\n");
          out.write("\t\t\t\t<td valign=\"top\" colspan=\"4\" style=\"border:none\">\r\n");
          out.write("\t\t\t\t\t<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"title\" width=\"100%\">\r\n");
          out.write("\t\t\t\t    \t<tr>\r\n");
          out.write("\t\t\t\t        <td style=\"height:25px\">添加咨询</td>\r\n");
          out.write("\t\t\t\t        <td align=\"right\">\r\n");
          out.write("\t\t\t\t        \t<input type=\"button\" value=\"保 存\" class=\"input02\" onclick=\"addClick()\"/>\r\n");
          out.write("\t\t\t\t         </td>\r\n");
          out.write("\t\t\t\t       </tr>\r\n");
          out.write("\t\t\t\t    </table>\r\n");
          out.write("\t\t\t\t</td>\t\t\t\t\r\n");
          out.write("\t\t\t</tr>\r\n");
          out.write("\t\t\t<tr>\r\n");
          out.write("\t\t\t<td>\r\n");
          out.write("\t\t\t<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table02 inputLine\">\r\n");
          out.write("\t\t\t\t<tr>\r\n");
          out.write("\t\t\t\t\t<td colspan=\"4\">\r\n");
          out.write("\t\t\t\t\t\t<font color=\"red\">(以下带*的选项为必填)</font>\r\n");
          out.write("\t\t\t\t\t</td>\r\n");
          out.write("\t\t\t\t</tr>\r\n");
          out.write("\r\n");
          out.write("\t\t\t\t<tr>\r\n");
          out.write("\t\t\t\t\t<td align=\"right\" width=\"65\">\r\n");
          out.write("\t\t\t\t\t\t咨询类别:\r\n");
          out.write("\t\t\t\t\t</td>\r\n");
          out.write("\t\t\t\t\t<td align=\"left\" class=\"bgInput\">\r\n");
          out.write("\t\t\t\t\t   <input id=\"consulttype\" type=\"text\" name=\"nodeName\" value=\"\" class=\"input01\" readonly=\"readonly\"/>\r\n");
          out.write("\t\t\t\t\t   <input type=\"hidden\" id=\"nodeId\" name=\"nodeId\" value=\"\"/>\r\n");
          out.write("\t\t\t\t\t   <img src=\"");
          out.print(cpath);
          out.write("/images/img_2008032803.jpg\" border=\"0\" style=\"cursor:hand\" onClick=\"select_tree()\" alt=\"选择类别\">\r\n");
          out.write("\t\t\t\t\t   <font color=\"red\">*</font>\r\n");
          out.write("\t\t\t\t\t</td>\r\n");
          out.write("\t\t\t\t</tr>\r\n");
          out.write("\t\t\t\t\r\n");
          out.write("\t\t\t\t<tr id=\"client\" style=\"display: \">\r\n");
          out.write("\t\t\t\t\t<td align=\"right\">\r\n");
          out.write("\t\t\t\t\t\t咨询客户:\r\n");
          out.write("\t\t\t\t\t</td>\r\n");
          out.write("\t\t\t\t\t<td align=\"left\" class=\"bgInput\">\r\n");
          out.write("\t\t\t\t\t   \r\n");
          out.write("\r\n");
          out.write("\t\t\t\t\t");
          //  s:if
          org.apache.struts2.views.jsp.IfTag _jspx_th_s_005fif_005f0 = (org.apache.struts2.views.jsp.IfTag) _005fjspx_005ftagPool_005fs_005fif_005ftest.get(org.apache.struts2.views.jsp.IfTag.class);
          _jspx_th_s_005fif_005f0.setPageContext(_jspx_page_context);
          _jspx_th_s_005fif_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fform_005f0);
          _jspx_th_s_005fif_005f0.setTest("IClientid==null");
          int _jspx_eval_s_005fif_005f0 = _jspx_th_s_005fif_005f0.doStartTag();
          if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.pushBody();
              _jspx_th_s_005fif_005f0.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
              _jspx_th_s_005fif_005f0.doInitBody();
            }
            do {
              out.write("\r\n");
              out.write("\t\t\t\t\t\t<input id=\"clientname\" type=\"text\" name=\"vcClientname\" value=\"\" class=\"input01\" readonly=\"readonly\"/>\r\n");
              out.write("\t\t\t\t\t    <input type=\"hidden\" id=\"iClientid\" name=\"IClientid\" value=\"");
              if (_jspx_meth_s_005fproperty_005f0(_jspx_th_s_005fif_005f0, _jspx_page_context))
                return;
              out.write("\"/>\r\n");
              out.write("\t\t\t\t\t   <img src=\"");
              out.print(cpath);
              out.write("/images/img_2008032803.jpg\" border=\"0\" style=\"cursor:hand\" onClick=\"select_custmer()\" alt=\"选择客户\">\r\n");
              out.write("\t\t\t\t\t");
              int evalDoAfterBody = _jspx_th_s_005fif_005f0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_s_005fif_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              out = _jspx_page_context.popBody();
            }
          }
          if (_jspx_th_s_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
            _005fjspx_005ftagPool_005fs_005fif_005ftest.reuse(_jspx_th_s_005fif_005f0);
            return;
          }
          _005fjspx_005ftagPool_005fs_005fif_005ftest.reuse(_jspx_th_s_005fif_005f0);
          out.write("\r\n");
          out.write("\t\t\t\t\t");
          if (_jspx_meth_s_005felse_005f0(_jspx_th_s_005fform_005f0, _jspx_page_context))
            return;
          out.write('\r');
          out.write('\n');
          out.write("\r\n");
          out.write("\t\t\t\t\t</td>\r\n");
          out.write("\t\t\t\t</tr>\r\n");
          out.write("\t\t\t\r\n");
          out.write("\t\t\t\t<tr>\r\n");
          out.write("\t\t\t\t\t<td align=\"right\">\r\n");
          out.write("\t\t\t\t\t\t咨询概述:\r\n");
          out.write("\t\t\t\t\t</td>\r\n");
          out.write("\t\t\t\t\t<td align=\"left\"  class=\"bgInput\">\r\n");
          out.write("\t\t\t\t\t\t<input id=\"consulttitle\" type=\"text\" name=\"billConsultion.title\" value=\"\" size=\"25\"class=\"input01\" maxlength=\"35\" />\r\n");
          out.write("\t\t\t\t\t\t<font color=\"red\">*</font>\r\n");
          out.write("\t\t\t\t\t</td>\t\t\t\t\t\r\n");
          out.write("\t\t\t\t</tr>\r\n");
          out.write("\t\t\t\t<tr>\r\n");
          out.write("\t\t\t\t\t<td align=\"right\">\r\n");
          out.write("\t\t\t\t\t\t咨询内容:\r\n");
          out.write("\t\t\t\t\t</td>\r\n");
          out.write("\t\t\t\t\t<td align=\"left\" class=\"bgInput\">\r\n");
          out.write("\t\t\t\t\t\t<textarea id=\"s1\" rows=\"5\" name=\"billConsultion.content\" style=\"border:1px solid ccc;width:95%\" maxlength=\"200\" onpropertychange=\"checklen(this)\"></textarea>\r\n");
          out.write("\t\t\t\t\t\t<font color=\"red\">*</font>\r\n");
          out.write("\t\t\t\t\t\t剩余字符数:<span id=\"tno\">200</span>\r\n");
          out.write("\t\t\t\t\t</td>\t\t\t\t\t\t\r\n");
          out.write("\t\t\t\t</tr>\t\t\t\t\r\n");
          out.write("\t\t\t</table>\r\n");
          out.write("\t\t\t</td>\r\n");
          out.write("\t\t\t</tr>\r\n");
          out.write("\t\t\t</table>\r\n");
          out.write("\t\t\t<input type=\"hidden\" id=\"windowId\" name=\"windowId\" value=\"");
          if (_jspx_meth_s_005fproperty_005f3(_jspx_th_s_005fform_005f0, _jspx_page_context))
            return;
          out.write("\"/>\r\n");
          out.write("\t\t\t<input type=\"hidden\" id=\"identify\" name=\"identify\" value=\"");
          if (_jspx_meth_s_005fproperty_005f4(_jspx_th_s_005fform_005f0, _jspx_page_context))
            return;
          out.write("\"/>\r\n");
          out.write("\t\t\t\r\n");
          out.write("\t\t");
          int evalDoAfterBody = _jspx_th_s_005fform_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
        if (_jspx_eval_s_005fform_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
          out = _jspx_page_context.popBody();
        }
      }
      if (_jspx_th_s_005fform_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005faction.reuse(_jspx_th_s_005fform_005f0);
        return;
      }
      _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005faction.reuse(_jspx_th_s_005fform_005f0);
      out.write("\r\n");
      out.write("\t\t");
      if (_jspx_meth_s_005fif_005f1(_jspx_page_context))
        return;
      out.write("\r\n");
      out.write("\t</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_s_005fproperty_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_s_005fif_005f0, PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  s:property
    org.apache.struts2.views.jsp.PropertyTag _jspx_th_s_005fproperty_005f0 = (org.apache.struts2.views.jsp.PropertyTag) _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.get(org.apache.struts2.views.jsp.PropertyTag.class);
    _jspx_th_s_005fproperty_005f0.setPageContext(_jspx_page_context);
    _jspx_th_s_005fproperty_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fif_005f0);
    _jspx_th_s_005fproperty_005f0.setValue("declientinfo.IClientid");
    int _jspx_eval_s_005fproperty_005f0 = _jspx_th_s_005fproperty_005f0.doStartTag();

⌨️ 快捷键说明

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