package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class CheckLocation_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
private static java.util.Vector _jspx_dependants;
public java.util.List getDependants() {
return _jspx_dependants;
}
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=gb2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
"", true, 8192, true);
_jspx_page_context = pageContext;
application = pageContext.getServletContext();
config = pageContext.getServletConfig();
session = pageContext.getSession();
out = pageContext.getOut();
_jspx_out = out;
out.write('\n');
org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "pub.jsp", out, false);
out.write("\n");
out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n");
out.write(" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
String getchkid=request.getParameter("chkid");
if (getchkid==null){getchkid="";}
out.write("\n");
out.write("<html:html locale=\"true\"> \n");
out.write(" <head>\n");
out.write(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n");
out.write(" <title>盘点作业</title>\n");
out.write(" <script language=\"JavaScript\"> \n");
out.write("\tvar http_request = false; \n");
out.write(" kstatus();\n");
out.write(" function kstatus(){\n");
out.write(" self.status=\"【RF软件】-【盘点作业】\";\n");
out.write(" setTimeout(\"kstatus()\",1111);\n");
out.write(" } \n");
out.write(" function send_request(url) {//初始化、指定处理函数、发送请求的函数\n");
out.write(" http_request = false;\n");
out.write(" //开始初始化XMLHttpRequest对象\n");
out.write(" if(window.XMLHttpRequest) { //Mozilla 浏览器\n");
out.write(" http_request = new XMLHttpRequest();\n");
out.write(" if (http_request.overrideMimeType) {//设置MiME类别\n");
out.write(" http_request.overrideMimeType('text/xml');\n");
out.write(" }\n");
out.write(" }\n");
out.write(" else if (window.ActiveXObject) { // IE浏览器\n");
out.write(" try {\n");
out.write(" http_request = new ActiveXObject(\"Msxml2.XMLHTTP\");\n");
out.write(" } catch (e) {\n");
out.write(" try {\n");
out.write(" http_request = new ActiveXObject(\"Microsoft.XMLHTTP\");\n");
out.write(" } catch (e) {}\n");
out.write(" }\n");
out.write(" }\n");
out.write(" if (!http_request) { // 异常,创建对象实例失败\n");
out.write(" window.alert(\"不能创建XMLHttpRequest对象实例.\");\n");
out.write(" return false;\n");
out.write(" }\n");
out.write(" http_request.onreadystatechange = processRequest;\n");
out.write(" // 确定发送请求的方式和URL以及是否同步执行下段代码\n");
out.write(" http_request.open(\"GET\", url, true);\n");
out.write(" http_request.send(null);\n");
out.write(" }\n");
out.write(" // 处理返回信息的函数\n");
out.write(" function processRequest() {\n");
out.write(" if (http_request.readyState == 4) { // 判断对象状态\n");
out.write(" if (http_request.status == 200) { // 信息已经成功返回,开始处理信息 \n");
out.write(" var getreturndata=http_request.responseText; \n");
out.write(" getreturndata = getreturndata.substring(0,getreturndata.length-2);\n");
out.write(" if (getreturndata==\"\"){\n");
out.write(" alert(\"输入的盘点单号错误,请重新输入!\");\n");
out.write(" document.CheckLoc.chkid.value=\"\";\n");
out.write(" document.CheckLoc.chkid.focus();\n");
out.write(" }\n");
out.write(" } else { //页面不正常\n");
out.write(" alert(\"您所请求的页面有异常。\");\n");
out.write(" document.CheckLoc.chkid.focus();\n");
out.write(" }\n");
out.write(" }\n");
out.write(" }\n");
out.write(" \n");
out.write(" function chkidCheck() {\n");
out.write(" var f = document.CheckLoc;\n");
out.write(" var strchkid = f.chkid.value;\n");
out.write(" if(strchkid==\"\") {\n");
out.write(" window.alert(\"盘点单号不能为空\");\n");
out.write(" f.chkid.focus();\n");
out.write(" return false;\n");
out.write(" }\n");
out.write(" else { \n");
out.write(" send_request('Checkchkid.jsp?chkid='+strchkid);\n");
out.write(" }\n");
out.write(" } \n");
out.write(" \n");
out.write(" function onchkidfocus() { \n");
out.write(" document.CheckLoc.chkid.focus(); \n");
out.write(" } \n");
out.write(" function onlocidfocus() {\n");
out.write(" document.CheckLoc.locid.focus();\n");
out.write(" } \n");
out.write(" \n");
out.write(" function locidcheck() {\n");
out.write(" var f = document.CheckLoc;\n");
out.write(" var strchkid = f.chkid.value; \n");
out.write(" var strlocid = f.locid.value;\n");
out.write(" if(strlocid==\"\") {\n");
out.write(" window.alert(\"储位编号不能为空\");\n");
out.write(" f.locid.focus();\n");
out.write(" return false;\n");
out.write(" }\n");
out.write(" else { \n");
out.write(" send_locidrequest('getchecklocinfo.jsp?chkid='+strchkid+'&locid='+strlocid);\n");
没有合适的资源?快使用搜索试试~ 我知道了~
rf.zip_RF跑java_web RF
共243个文件
jsp:52个
jar:46个
html:43个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 167 浏览量
2022-09-24
17:53:52
上传
评论
收藏 12.15MB ZIP 举报
温馨提示
Java系统开发的RF Web程序,采用了Ajax技术
资源详情
资源评论
资源推荐
收起资源包目录
rf.zip_RF跑java_web RF (243个子文件)
employeelist_jsp.class 11KB
QueryOperation.class 9KB
InSave.class 8KB
InStockCheck_jsp.class 6KB
DatabasePage.class 5KB
InStockSave_jsp.class 4KB
client_jsp.class 4KB
ExChangeLocSave_jsp.class 4KB
exchangeloccheckloc_jsp.class 4KB
barcode_jsp.class 3KB
gdsid_jsp.class 3KB
SerialNo.class 3KB
EmployeeListServlet.class 3KB
selectoption.class 2KB
GetDate.class 2KB
DeleteOperation.class 2KB
ggg.class 2KB
DatabaseOperation.class 2KB
ModifyOperation.class 314B
InsertOperation.class 314B
hellking.css 2KB
hellking.css 2KB
stylesheet.css 1KB
hellking2.css 913B
hellking2.css 913B
inherit.gif 57B
DatabasePage.html 24KB
QueryOperation.html 22KB
InSave.html 20KB
SerialNo.html 15KB
EmployeeListServlet.html 14KB
DeleteOperation.html 14KB
GetDate.html 14KB
index-6.html 13KB
DatabaseOperation.html 12KB
index-4.html 10KB
ModifyOperation.html 9KB
index-12.html 8KB
help-doc.html 8KB
DatabasePage.html 8KB
index-8.html 8KB
package-summary.html 7KB
index-3.html 7KB
index-5.html 7KB
index-11.html 7KB
package-tree.html 7KB
index-2.html 7KB
index-1.html 7KB
index-9.html 6KB
overview-tree.html 6KB
index-13.html 6KB
index-10.html 6KB
index-7.html 6KB
package-use.html 6KB
serialized-form.html 6KB
EmployeeListServlet.html 5KB
DatabaseOperation.html 5KB
ModifyOperation.html 5KB
DeleteOperation.html 5KB
QueryOperation.html 5KB
SerialNo.html 5KB
GetDate.html 5KB
InSave.html 5KB
constant-values.html 5KB
deprecated-list.html 5KB
package-frame.html 2KB
allclasses-frame.html 2KB
allclasses-noframe.html 2KB
index.html 1KB
jaxrpc-impl.jar 5.31MB
jaxrpc-impl.jar 5.31MB
saaj-impl.jar 604KB
saaj-impl.jar 604KB
FastInfoset.jar 579KB
FastInfoset.jar 579KB
struts.jar 531KB
struts.jar 531KB
xsdlib.jar 465KB
xsdlib.jar 465KB
standard.jar 385KB
standard.jar 385KB
antlr.jar 350KB
antlr.jar 350KB
mail.jar 264KB
mail.jar 264KB
jaxp-api.jar 212KB
jaxp-api.jar 212KB
commons-beanutils.jar 184KB
commons-beanutils.jar 184KB
commons-digester.jar 164KB
commons-digester.jar 164KB
commons-validator.jar 82KB
commons-validator.jar 82KB
jakarta-oro.jar 64KB
jakarta-oro.jar 64KB
jaxrpc-api.jar 56KB
jaxrpc-api.jar 56KB
jsr173_api.jar 49KB
jsr173_api.jar 49KB
activation.jar 44KB
共 243 条
- 1
- 2
- 3
小贝德罗
- 粉丝: 71
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0