⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showstockprintsucai.jsp

📁 gensou.rar为某渔具厂的一个简单ERP系统。为比较基础的工程
💻 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 d="";
     String onload="";%>

     <%
       d = request.getParameter("id").toString();
       int id = Integer.parseInt(d);
       String jrxml=application.getRealPath("").replace('\\','/');
       onload="sendRequest('printSucai.do?id="+id+"&amp;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 + -