📄 showstockprintgongzi.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title></title>
<style type="text/css">
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>
<link href="/gensou/images/allcss.css" rel="stylesheet" type="text/css">
<style type="text/css">
.STYLE1 {color: #404040}
</style>
<SCRIPT language="javascript">
function posURI(groupID){
groupIDEncoder=encodeURI(groupID);
location.href=groupIDEncoder;
}
</SCRIPT>
<SCRIPT language="javascript">
var request=false;
var curElement="pdiv";
function sendRequest(url){
try{
request=new XMLHttpRequest();
}catch(trymicrosoft){
try{
request=new ActiveXObject("Msxml2.XMLHTTP");
}catch(othermicrosoft){
try{
request = new ActiveXObject("Microsoft.XMLHTTP");
}catch(failed){
request=false;
}
}
}
if(!request){
alert("请求为空");
}
var realurl='<%=basePath%>'+url;
//var id=select.value;
//realurl=url+'?selectid='+id;
//alert(realurl);
request.onreadystatechange = alertContents;
request.open("GET",realurl,true);
request.send(null);
}
function alertContents() {
if (request.readyState == 4) {
if (request.status == 200) {
var curDIV;
curDIV=document.getElementById(curElement);
curDIV.innerHTML=request.responseText;
} else {
alert('There was a problem with the request.');
}
}
}
</SCRIPT>
</head>
<%String date="";
String onload="";%>
<%
date = request.getParameter("date").toString();
String jrxml=application.getRealPath("").replace('\\','/');
onload="sendRequest('printGongzi.do?date="+date+"&jrxml="+jrxml+"')";
%>
<body onload="<%=onload%>">
<img src="/gensou/images/arrow1.gif" width="15" height="15">
<br>
<div id=pdiv>
数据加载中............
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -