📄 auto_005fobject_005fadd_jsp.java
字号:
package org.apache.jsp.pages.LeftMenu.SMSSend;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class auto_005fobject_005fadd_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.List _jspx_dependants;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005fid_005fenctype_005faction;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fif_005ftest;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005felse;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fform_005fname_005faction;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005fid_005fenctype_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fif_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005felse = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fform_005fname_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fform_005fname_005fmethod_005fid_005fenctype_005faction.release();
_005fjspx_005ftagPool_005fs_005fif_005ftest.release();
_005fjspx_005ftagPool_005fs_005felse.release();
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fstatus.release();
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.release();
_005fjspx_005ftagPool_005fs_005fform_005fname_005faction.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=UTF-8");
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");
String cpath=request.getContextPath();
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/tr/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
out.write("<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n");
out.write("\t<head>\r\n");
out.write("\t\t<title>短信对象添加</title>\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/css_common1.css\" rel=\"stylesheet\"type=\"text/css\" />\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/mian.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/page.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/calendar.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/jquery126.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/effect.js\"></script>\t\t \r\n");
out.write("\t\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n");
out.write("\t</head>\r\n");
out.write("\t<script language=\"JavaScript\">\r\n");
out.write("<!--\r\n");
out.write("\t $(function(){\r\n");
out.write("\t\t \taddInputEffect();\r\n");
out.write("\t\t });\t\r\n");
out.write("\r\n");
out.write("\tfunction openselect(i){\r\n");
out.write("\t\tvar taskid=document.getElementById('sform').taskId.value;\r\n");
out.write("\t\tif(i==1)window.open(\"");
out.print(cpath);
out.write("/smssend/select.action?identify=customer&taskId=\"+taskid, \"\", \"height=400, width=600, toolbar=atmo , menubar=no, scrollbars=no, resizable=no, location=no, status=no\");\r\n");
out.write("\t\tif(i==2)window.open(\"");
out.print(cpath);
out.write("/smssend/select.action?identify=group&taskId=\"+taskid, \"\", \"height=400, width=600, toolbar=atmo , menubar=no, scrollbars=no, resizable=no, location=no, status=no\");\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction imports(){\r\n");
out.write("\t\tif(document.getElementById('importfile').value==\"\"){\r\n");
out.write("\t\t\talert(\"请选择导入的EXECL!\")\r\n");
out.write(" \tdocument.getElementById('sform').importfile.focus()\r\n");
out.write(" \treturn;\r\n");
out.write("\t\t}\r\n");
out.write("\t\tdocument.getElementById('sform').action=\"");
out.print(cpath);
out.write("/smssend/importcustomerexcel.action?\";\r\n");
out.write("\r\n");
out.write("\t\tgosubmit(document.getElementById('sform'));\r\n");
out.write("\t \t\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\r\n");
out.write("\tfunction search(){\t\t\r\n");
out.write("\t\r\n");
out.write("\t\t\tif(document.getElementById('returnsign').value==1){\r\n");
out.write("\t\t\t\t alert(\"发送成功!\");\r\n");
out.write("\t\t\t\t window.top.frames['title'].delTag('bulletinadd');\r\n");
out.write("\t\t\t}else if(document.getElementById('returnsign').value==2){\r\n");
out.write("\t\t\t\t alert(\"发送失败!\");\r\n");
out.write("\t\t\t}\r\n");
out.write("\t}\r\n");
out.write("\r\n");
out.write("\tfunction delobject(a){\r\n");
out.write("\r\n");
out.write("\t\t//alert(a);\r\n");
out.write("\t \tdocument.getElementById('sform').action=\"");
out.print(cpath);
out.write("/smssend/removeobject.action?IClientid=\"+a;\r\n");
out.write("\r\n");
out.write("\t\tgosubmit(document.getElementById('sform'));\r\n");
out.write("\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\t\r\n");
out.write("\tfunction checkAll2(){\r\n");
out.write("\t\t for(var i=0;i<document.getElementById('sform').selItem.length;i++)\r\n");
out.write("\t\tdocument.getElementById('sform').selItem[i].checked=document.getElementById('sform').checkAll.checked;\r\n");
out.write("\t }\r\n");
out.write("\t \r\n");
out.write("\t \r\n");
out.write("\t function batchdel() { \r\n");
out.write("\t var array = new Array();\r\n");
out.write("\t var selItem = document.getElementsByName('selItem');\r\n");
out.write("\t var i = 0;\r\n");
out.write("\t for(var j = 0;j<document.getElementById('sform').selItem.length;j++){\r\n");
out.write("\t \tif(document.getElementById('sform').selItem[j].checked==true){\r\n");
out.write("\t array[i++]=document.getElementById('sform').selItem[j].value;\r\n");
out.write(" \t \t}\r\n");
out.write(" \t\t}\r\n");
out.write("\t if(array.length==0){\r\n");
out.write("\t alert(\"请至少选择一条\");\r\n");
out.write("\t return;\r\n");
out.write("\t }\r\n");
out.write("\t if(confirm(\"确定要删除吗?\")==false){\r\n");
out.write("\t return false;\r\n");
out.write("\t }\r\n");
out.write("\t\t\tvar id=document.getElementById('sform').taskId.value\r\n");
out.write("\t \twindow.location.href=\"");
out.print(cpath);
out.write("/smssend/batchremoveobject.action?batchobjectdelete=\"+array+\"&taskId=\"+id;\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("\tfunction autosetpage(){\r\n");
out.write("\t\tif(window.parent.createSmstask.document.getElementById('Ptempradio').checked==true){\r\n");
out.write("\t\t\tdocument.getElementById('listcontent').style.height='239px';\r\n");
out.write("\t\t}else{\r\n");
out.write("\t\t\tdocument.getElementById('listcontent').style.height='94px';\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("-->\r\n");
out.write("</script>\r\n");
out.write("<body leftmargin=\"0\" topmargin=\"0\" class=\"bgOffice\" style=\"width:100%;\">\r\n");
// 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_005fid_005fenctype_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.setId("sform");
_jspx_th_s_005fform_005f0.setName("sform");
_jspx_th_s_005fform_005f0.setAction("");
_jspx_th_s_005fform_005f0.setEnctype("multipart/form-data");
_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("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" style=\"width:100%;\">\r\n");
out.write("\t<tr>\r\n");
out.write("\t\t<td valign=\"top\" colspan=\"4\" class=\"groupTitle\">\r\n");
out.write("\t\t");
if (_jspx_meth_s_005fif_005f0(_jspx_th_s_005fform_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t");
if (_jspx_meth_s_005felse_005f0(_jspx_th_s_005fform_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t</td>\r\n");
out.write("\t</tr>\t\r\n");
out.write("<tr>\r\n");
out.write("\t<td>\r\n");
out.write("\t\t<div id=\"listcontent\" style=\"width:expression(document.body.offsetWidth);height:239px;overflow:auto;overflow-x: hidden;\">\r\n");
out.write("\r\n");
out.write("\t\t\t<table class=\"datalist\" id=\"datacolor\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\r\n");
out.write("\t\t\t\t<tr style=\"height:10px\">\r\n");
out.write("\t\t\t\t\t<th><div style=\"width:10px;\"><input type=checkbox name=checkAll onclick=checkAll2() /></div></th>\r\n");
out.write("\t\t\t\t\t<th><div style=\"width:100px;\">客户姓名</div></th>\r\n");
out.write("\t\t\t\t\t<th><div style=\"width:100px;\">联系电话</div></th>\r\n");
out.write("\t\t\t\t\t<th><div style=\"width:100px;\">手机号</div></th>\r\n");
out.write("\t\t\t\t\t<th><div style=\"width:50px;\">操 作</div></th>\r\n");
out.write("\t\t\t\t</tr>\r\n");
out.write("\t\t \r\n");
out.write("\t\t ");
if (_jspx_meth_s_005fif_005f1(_jspx_th_s_005fform_005f0, _jspx_page_context))
return;
out.write("\r\n");
out.write("\t\t\t\t\t\t\t");
// s:else
org.apache.struts2.views.jsp.ElseTag _jspx_th_s_005felse_005f1 = (org.apache.struts2.views.jsp.ElseTag) _005fjspx_005ftagPool_005fs_005felse.get(org.apache.struts2.views.jsp.ElseTag.class);
_jspx_th_s_005felse_005f1.setPageContext(_jspx_page_context);
_jspx_th_s_005felse_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_s_005fform_005f0);
int _jspx_eval_s_005felse_005f1 = _jspx_th_s_005felse_005f1.doStartTag();
if (_jspx_eval_s_005felse_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
if (_jspx_eval_s_005felse_005f1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
out = _jspx_page_context.pushBody();
_jspx_th_s_005felse_005f1.setBodyContent((javax.servlet.jsp.tagext.BodyContent) out);
_jspx_th_s_005felse_005f1.doInitBody();
}
do {
out.write("\r\n");
out.write("\t\t\t\t");
// s:iterator
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -