orderbadd_jsp.java

来自「jsp_javabean+tomcat的web管理系统!」· Java 代码 · 共 298 行 · 第 1/2 页

JAVA
298
字号
      out.write("\thtmlStr+=\"<TD>参数为多项时参数内容----格式:中文名字,选项值,各项之间换行隔开<br><TEXTAREA id=paramValues\"+i+\"  cols=40 rows=5 name=paramValues></TEXTAREA></TD></TR>\";\r\n");
      out.write("\thtmlStr+=\"<TR bgColor=#fff8ec>\";\r\n");
      out.write("\thtmlStr+=\"<TD align=middle valign=top>参数描述</TD>\";\r\n");
      out.write("\thtmlStr+=\"<TD><TEXTAREA id=paramD  cols=40 rows=5 name=paramDescription></TEXTAREA></TD></TR></TBODY></TABLE>\";\r\n");
      out.write("  }\r\n");
      out.write("  paramArea.innerHTML=htmlStr;\r\n");
      out.write("}\r\n");
      out.write("//msrv.CustomizeSrv\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("<table width=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#666666\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td height=\"23\" background=\"images/leftlan01.jpg\"> <span class=\"style2\">点播类业务--业务</span></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td bgcolor=\"#FFFFFF\">&nbsp;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td bgcolor=\"#FFFFFF\">\r\n");
      out.write("\t  <table width=\"100%\"  border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#333333\">\r\n");
      out.write("        <form action=\"msrv.CustomizeSrv\" method=\"post\" name=\"form1\" onSubmit=\"return subForm()\">\r\n");
      out.write("\t\t<tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td width=\"14%\" rowspan=\"14\" align=\"center\" bgcolor=\"#efefef\">&nbsp;</td>\r\n");
      out.write("          <td width=\"11%\" align=\"center\" bgcolor=\"#FFFFFF\">业务名称</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">&nbsp;\r\n");
      out.write("            <input name=\"orderName\" type=text class=textbox id=\"orderName2\" size=12>            <input type=\"hidden\" name=\"cntrl\" value=\"addOrderB\"></td>\r\n");
      out.write("          <td width=\"7%\" rowspan=\"14\" align=\"center\" bgcolor=\"#efefef\">&nbsp;</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("\t\t<tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("\t\t  <td align=\"center\" bgcolor=\"#FFFFFF\">发送方式</td>\r\n");
      out.write("\t\t  <td align=\"left\" bgcolor=\"#FFFFFF\">&nbsp;自增型\r\n");
      out.write("\t\t    <input type=\"radio\" checked name=\"order_type\" value=\"0\">\r\n");
      out.write("             日子型\r\n");
      out.write("            <input name=\"order_type\" type=\"radio\" value=\"1\">            </td>\r\n");
      out.write("\t\t  </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td align=\"center\" bgcolor=\"#FFFFFF\">状  态</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">&nbsp;启用\r\n");
      out.write("            <input type=\"radio\" checked name=\"status\" value=\"1\"> \r\n");
      out.write("          禁用\r\n");
      out.write("          <input name=\"status\" type=\"radio\" value=\"0\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">业务类型</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">&nbsp;            <select name=\"busiType\" id=\"busiType\">\r\n");
      out.write("            <option value=\"0\" selected>所 有</option>\r\n");
      out.write("            <option value=\"2\">移动 联通</option>\r\n");
      out.write("            <option value=\"1\">小灵通 网 通</option>\r\n");
      out.write("          </select>\r\n");
      out.write("             可多选</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">业务说明</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">&nbsp;\r\n");
      out.write("            <textarea cols=\"40\" name=\"busiDescription\" rows=\"4\" class=\"textbox\" id=\"orderName3\"></textarea></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">设定参数</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">&nbsp;\r\n");
      out.write("            <select onchange=\"changeParams()\" name=\"paramNum\" id=\"paramNum\">\r\n");
      out.write("              <option value=\"0\">0</option>\r\n");
      out.write("              <option value=\"1\">1</option>\r\n");
      out.write("              <option value=\"2\">2</option>\r\n");
      out.write("              <option value=\"3\">3</option>\r\n");
      out.write("              <option value=\"4\">4</option>\r\n");
      out.write("              <option value=\"5\">5</option>\r\n");
      out.write("              <option value=\"6\">6</option>\r\n");
      out.write("              <option value=\"7\">7</option>\r\n");
      out.write("              <option value=\"8\">8</option>\r\n");
      out.write("              <option value=\"9\">9</option>\r\n");
      out.write("              <option value=\"10\">10</option>\r\n");
      out.write("              <option value=\"11\">11</option>\r\n");
      out.write("            </select>            \r\n");
      out.write("            个</td>\r\n");
      out.write("          </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" colspan=\"2\" align=\"center\" bgcolor=\"#FFFFFF\" id=\"paramArea\">&nbsp;\t\t  </td>\r\n");
      out.write("          </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">&nbsp;</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">定制发送时间</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">发送时间1</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\"><input name=\"send_date\" type=\"checkbox\" id=\"send_date1\" value=\"1\">            \r\n");
      out.write("            <input name=\"sendHour1\" type=\"text\" class=\"textbox\" id=\"sendHour1\" value=\"00\" size=\"3\">\r\n");
      out.write("            时\r\n");
      out.write("<input name=\"sendMinute1\" type=\"text\" class=\"textbox\" id=\"sendMinute1\" value=\"00\" size=\"3\">\r\n");
      out.write("分  分钟只能输入00 或则 30</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">发送时间2</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">            <input name=\"send_date\" type=\"checkbox\" id=\"send_date2\" value=\"2\">\r\n");
      out.write("            <input name=\"sendHour2\" type=\"text\" class=\"textbox\" id=\"sendHour2\" value=\"00\" size=\"3\">\r\n");
      out.write("时\r\n");
      out.write("<input name=\"sendMinute2\" type=\"text\" class=\"textbox\" id=\"sendMinute2\" value=\"00\" size=\"3\">\r\n");
      out.write("分  分钟只能输入00 或则 30</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">发送时间3</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">            <input name=\"send_date\" type=\"checkbox\" id=\"send_date3\" value=\"3\">\r\n");
      out.write("            <input name=\"sendHour3\" type=\"text\" class=\"textbox\" id=\"sendHour3\" value=\"00\" size=\"3\">\r\n");
      out.write("时\r\n");
      out.write("<input name=\"sendMinute3\" type=\"text\" class=\"textbox\" id=\"sendMinute3\" value=\"00\" size=\"3\">\r\n");
      out.write("分  分钟只能输入00 或则 30</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"35\" align=\"center\" bgcolor=\"#FFFFFF\">发送时间4</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">            <input name=\"send_date\" type=\"checkbox\" id=\"send_date4\" value=\"4\">\r\n");
      out.write("            <input name=\"sendHour4\" type=\"text\" class=\"textbox\" id=\"sendHour4\" value=\"00\" size=\"3\">\r\n");
      out.write("时\r\n");
      out.write("<input name=\"sendMinute4\" type=\"text\" class=\"textbox\" id=\"sendMinute4\" value=\"00\" size=\"3\">\r\n");
      out.write("分  分钟只能输入00 或则 30</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td height=\"29\" align=\"center\" bgcolor=\"#FFFFFF\">发送时间4</td>\r\n");
      out.write("          <td align=\"left\" bgcolor=\"#FFFFFF\">            <input name=\"send_date\" type=\"checkbox\" id=\"send_date5\" value=\"5\">\r\n");
      out.write("            <input name=\"sendHour5\" type=\"text\" class=\"textbox\" id=\"sendHour5\" value=\"00\" size=\"3\">\r\n");
      out.write("            时\r\n");
      out.write("<input name=\"sendMinute5\" type=\"text\" class=\"textbox\" id=\"sendMinute5\" value=\"00\" size=\"3\">\r\n");
      out.write("分  分钟只能输入00 或则 30</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("        <tr height=\"16\" align=\"center\" bgcolor=\"#CCCCCC\">\r\n");
      out.write("          <td colspan=\"2\" align=\"center\" bgcolor=\"#FFFFFF\"><input name=\"Submit\" type=\"submit\" class=\"button\" value=\"提  交\">\r\n");
      out.write("          <input name=\"Submit2\" type=\"reset\" class=\"button\" value=\"取消修改\"></td>\r\n");
      out.write("        </tr>\r\n");
      out.write("\t\t</form>\r\n");
      out.write("        <tr bgcolor=\"#FFF4E6\">\r\n");
      out.write("   \t\t  <td colspan=\"4\" align=\"center\" bgcolor=\"#efefef\">&nbsp;</td>\r\n");
      out.write("        </tr>\r\n");
      out.write("    </table></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\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);
    }
  }
}

⌨️ 快捷键说明

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