📄 smssend_005fsearch_jsp.java
字号:
package org.apache.jsp.pages.LeftMenu.SMSSend;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import cn.aresoft.util.SystemDictUtil;
import cn.aresoft.po.SystemDict;
import cn.aresoft.po.SystemDictId;
import java.util.*;
import cn.aresoft.po.SysUserInfo;
import cn.aresoft.fw.ServiceLocator;
import cn.aresoft.modules.systemmanage.function.FunctionService;
public final class smssend_005fsearch_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_005fproperty_005fvalue_005fnobody;
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_005fid;
private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody;
public Object getDependants() {
return _jspx_dependants;
}
public void _jspInit() {
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody = 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_005fid = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
_005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
}
public void _jspDestroy() {
_005fjspx_005ftagPool_005fs_005fproperty_005fvalue_005fnobody.release();
_005fjspx_005ftagPool_005fs_005fif_005ftest.release();
_005fjspx_005ftagPool_005fs_005felse.release();
_005fjspx_005ftagPool_005fs_005fiterator_005fvalue_005fid.release();
_005fjspx_005ftagPool_005fs_005fdate_005fname_005fformat_005fnobody.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");
out.write("\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \r\n");
out.write("\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n");
String cpath=request.getContextPath();
out.write("\r\n");
out.write("\r\n");
out.write("<html>\r\n");
out.write("\t<head>\t\r\n");
out.write("\t\t<title>短信任务查询</title>\r\n");
out.write("\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/validate.js\"></script>\r\n");
out.write("\t\t<link href=\"");
out.print(cpath);
out.write("/style/css_common1.css\" rel=\"stylesheet\"\r\n");
out.write("\t\t\ttype=\"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/jquery126.js\"></script>\r\n");
out.write("\t\t<script src=\"");
out.print(cpath);
out.write("/js/effect.js\"></script>\t\t\t\r\n");
out.write("\r\n");
out.write("\t<script language=\"JavaScript\">\r\n");
out.write("\t $(function(){\r\n");
out.write("\t \taddInputEffect();\r\n");
out.write("\t });\t\t\r\n");
out.write("var xmlhttpreq = false;\r\n");
out.write("//创建xmlhttprequest对象 \r\n");
out.write("function createxmlhttprequest() {\r\n");
out.write("\t//alert('createxmlhttprequest');\r\n");
out.write(" xmlhttpreq = false;\r\n");
out.write("\r\n");
out.write(" if (window.XMLHttpRequest) { // Mozilla, Safari,...\r\n");
out.write(" xmlhttpreq = new XMLHttpRequest();\r\n");
out.write(" if (xmlhttpreq.overrideMimeType) {\r\n");
out.write(" xmlhttpreq.overrideMimeType('text/xml');\r\n");
out.write(" }\r\n");
out.write(" } else if (window.ActiveXObject) { // IE\r\n");
out.write(" try {\r\n");
out.write(" xmlhttpreq = new ActiveXObject(\"Msxml2.XMLHTTP\");\r\n");
out.write(" } catch (e) {\r\n");
out.write(" try {\r\n");
out.write(" xmlhttpreq = new ActiveXObject(\"Microsoft.XMLHTTP\");\r\n");
out.write(" } catch (e) {}\r\n");
out.write(" }\r\n");
out.write(" }\r\n");
out.write("\r\n");
out.write(" if (!xmlhttpreq) {\r\n");
out.write(" alert('Giving up :( Cannot create an XMLHTTP instance');\r\n");
out.write(" return false;\r\n");
out.write(" }\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("//发送请求函数\r\n");
out.write("function sendRequest(url) {\r\n");
out.write("\t//alert('sendRequest');\r\n");
out.write("\tcreatexmlhttprequest();\r\n");
out.write("\txmlhttpreq.open('GET', url, true);\r\n");
out.write("\txmlhttpreq.onreadystatechange = processresponse;//指定响应函数\r\n");
out.write("\txmlhttpreq.send(null); // 发送请求\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("// 处理返回信息函数\r\n");
out.write("function processresponse() {\r\n");
out.write("\t//alert('processresponse');\r\n");
out.write("\tif (xmlhttpreq.readyState == 4) { // 判断对象状态\r\n");
out.write("\t\tif (xmlhttpreq.status == 200) { // 信息已经成功返回,开始处理信息\r\n");
out.write("\t\t\t//alert('processresponse:'+xmlhttpreq.responseXML.xml);\r\n");
out.write("\t\t\tprocessRult(xmlhttpreq.responseText);//responseXml\r\n");
out.write("\t\t} else { //页面不正常\r\n");
out.write("\t\t\twindow.alert(\"\\u60a8\\u6240\\u8bf7\\u6c42\\u7684\\u9875\\u9762\\u6709\\u5f02\\u5e38\\u3002\");\r\n");
out.write("\t\t}\r\n");
out.write("\t}\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("// 设置新值\r\n");
out.write("function processRult(xmlValue) {\r\n");
out.write("\t//alert('settoprefresh');\r\n");
out.write("\talert(xmlValue);\r\n");
out.write("\tsearchSmstask();\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("function checkStatus(taskId){\r\n");
out.write("\t\turl = '");
out.print(cpath);
out.write("/smssend/checkStatusAjax.action?taskId='+taskId;\r\n");
out.write("\t\tsendRequest(url);\r\n");
out.write("}\r\n");
out.write("\r\n");
out.write("\r\n");
out.write("</script>\t\t\r\n");
out.write("\t\t\r\n");
out.write("\t\t\r\n");
out.write("\t\t\r\n");
out.write("\t\t<script language=\"JavaScript\">\t\r\n");
out.write("\tfunction reloadThis(){\r\n");
out.write("\t\t//alert('reloadThis');\r\n");
out.write("\t\tdocument.getElementById('pageAction').value=\"gotoPage\"\r\n");
out.write("\t\tsearchSmstask();\r\n");
out.write("\t}\r\n");
out.write("\t\t\r\n");
out.write("\tfunction createTask(){\r\n");
out.write("\t\turl = '");
out.print(cpath);
out.write("/pages/LeftMenu/SMSSend/smssend_add_manage.jsp?windowId=smstask_add';\r\n");
out.write("\t\twindow.top.frames['left'].openWindows(url,'短信任务添加','smstask_add',window);\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction modifySmstask(taskId){\r\n");
out.write("\t\turl = '");
out.print(cpath);
out.write("/pages/LeftMenu/SMSSend/smssend_edit_manage.jsp?taskId='+taskId+'&windowId=smstask_modify'+taskId;\r\n");
out.write("\t\t//alert(url);\r\n");
out.write("\t\twindow.top.frames['left'].openWindows(url,'短信任务修改','smstask_modify'+taskId,window);\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction deleteSmstask(taskId){\r\n");
out.write("\t\tif(confirm('确定删除该短信任务吗?')==true){\r\n");
out.write("\t\t\turl = '");
out.print(cpath);
out.write("/smssend/delete.action?taskId='+taskId;\r\n");
out.write("\t\t\tdocument.getElementById('sform').action=url;\r\n");
out.write("\r\n");
out.write("\t\t\tgosubmit(document.getElementById(\"sform\"));\r\n");
out.write("\t\t}\r\n");
out.write("\t}\t\r\n");
out.write("\t\r\n");
out.write("\tfunction setStatus(taskId,status){\r\n");
out.write("\t\turl = '");
out.print(cpath);
out.write("/smssend/changeStatus.action?status='+status+'&taskId='+taskId;\r\n");
out.write("\t\tdocument.getElementById('sform').action=url;\r\n");
out.write("\r\n");
out.write("\t\tgosubmit(document.getElementById(\"sform\"));\r\n");
out.write("\t}\r\n");
out.write("\t\r\n");
out.write("\tfunction searchSmstask(){\r\n");
out.write("\tif(validateForm(document.getElementById('kform'))){\r\n");
out.write("\t\tfixInfo();\r\n");
out.write("\t\tdocument.getElementById('sform').action='");
out.print(cpath);
out.write("/smssend/search.action';\r\n");
out.write("\r\n");
out.write("\t\tgosubmit(document.getElementById(\"sform\"));\r\n");
out.write("\t }\r\n");
out.write("\t}\r\n");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -