Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - javascript request
Search - javascript request - List
DL : 0
实现从远程服务器下载文件到指定的客户度目录,直接放入到web页面即可使用。 参考以下脚本 <script language=\"javascript\"> function downFile(){ var serverUrl serverUrl = document.form1.serverUrl.value alert(serverUrl) window.document.UserControl1.downloadFileByActive(serverUrl,\"c:\\\\内蒙古自治区国民经济和社会.doc\") } </script> <!-- style=\"visibility:hidden\" --> <OBJECT ID=\"UserControl1\" CLASSID=\"CLSID:F65549B3-26A0-4FA0-B9A6-70B28BB17427\" CODEBASE=\"downloadByActive.CAB#version=1,0,0,0\"> </OBJECT> <body> <form name = \"form1\" > <%String str =request.getRequestURL().toString() str = str.substring(0,str.indexOf(\"plan\")) +\"内蒙古自治区国民经济和社会.doc\" out.println(str) %> <input type=\"hidden\" name=\"serverUrl\" value=\"<%=str %>\"> <br> <input type=\"file\" name=\"downloadfile\"> <br> <input type=\"button\" name=\"but\" value=\"下载\" onclick=\"downFile()\"> </form>
Date : 2008-10-13 Size : 3.62mb User : theodore liu

本系统开发采用了Ajax 技术和XML Cache 高效缓存技术,使网页速度更迅速,最大化的节省服务器负载。借助于Ajax,可以在用户单击按钮时,使用JavaScript和DHTML立即更新UI,并向服务器发出异步请求,以执行更新或查询数据库。当请求返回时,刷新局部页面。用户甚至不知道浏览器正在与服务器通信,Web站点看起来是即时响应的。-The system developed uses Ajax technology and efficient XML Cache caching technology, the web speed faster, maximize savings in server load. By means of Ajax, when the user can click a button, using JavaScript and DHTML UI update immediately, and sends an asynchronous request to the server to perform an update or query the . When the request returns, partial page refresh. Users do not even know if your browser is communicating with the server, Web site appears to be an immediate response.
Date : 2025-12-16 Size : 2.35mb User : 黄陈皓
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.