日期:2014-05-17 浏览次数:20892 次
<script type="text/javascript"> function bmpsend(){ alert(1); var Request = " /test/go.do"; var RequestPath = "http://192.168.10.163:8080/test/go.do"; var RequestHost = "192.168.10.163:8080"; var FileName = "c:\\test.bmp"; var IPAdress = "192.168.10.163"; alert(bmpUpload); bmpUpload.sendData(Request, RequestPath, RequestHost, FileName, IPAdress); bmpUpload.Command1_Click; alert(bmpUpload.FileName); } </script> </head> <object classid="clsid:F6FAA59F-83D8-41D2-9233-45F2C4F2E79C" codebase="<%=request.getContextPath()%>\Upload.ocx" id="bmpUpload" name="bmpUpload" > </object>