我用VB做了一个ActiveX Document文件的dll,在JSP页面经过发布在服务器后,在服务器端可以调用显示,但经过其它客户端调用该页面却没有显示!为什么?代码如下:<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>进行报表打印页面</title>
</head><body>
<%
String Path = "";
Path = application.getRealPath("/")+"gjs\\ReportsPrint\\UDMain.vbd";//得到路径
System.out.println("Path = " + Path);
%><iframe name="1" width="100%" height="100%" src="<%=Path%>"></iframe></body>
</html>其中:"gjs\\ReportsPrint\\UDMain.vbd" 这句中的UDMain.vbd文件是DLL组件文件编译后的发布文件,但经过客户端就是不能显示控件页面内容.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>进行报表打印页面</title>
</head><body>
<%
String Path = "";
Path = application.getRealPath("/")+"gjs\\ReportsPrint\\UDMain.vbd";//得到路径
System.out.println("Path = " + Path);
%><iframe name="1" width="100%" height="100%" src="<%=Path%>"></iframe></body>
</html>其中:"gjs\\ReportsPrint\\UDMain.vbd" 这句中的UDMain.vbd文件是DLL组件文件编译后的发布文件,但经过客户端就是不能显示控件页面内容.
另外,换成cab文件它怎么不自动下载并注册里面的DLL?
客户端的机器配置没有什么不同,都是XP和windows2000