动态插入另一网站的页面?

sczyq 2003-08-19 02:39:21
想在网页内动态插入另一网站的完整页面,但不用框架,该怎么做?
...全文
106 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
laibagefei 2003-08-20
  • 打赏
  • 举报
回复
试一下xmlHttp 建议
sczyq 2003-08-20
  • 打赏
  • 举报
回复
noon808(WXHOT) ( )


同一站点,当然使用
server.Execute("www.htm")

若不同站点,使用
server.Execute("http://xxx.xxx.xxx.xxx/www.htm")
就不行了
alphayycn 2003-08-19
  • 打赏
  • 举报
回复
楼上两位都不行。。我试呢。
noon808 2003-08-19
  • 打赏
  • 举报
回复
server.Execute("www.htm")

绝对可以
somecom 2003-08-19
  • 打赏
  • 举报
回复
干脆用包含吧!
<!--#include file="http://10.0.0.51/riseOffice/Utility/RiseOfficeDisplay.asp"-->
alphayycn 2003-08-19
  • 打赏
  • 举报
回复
pp4u(方便面(三天内结贴))

中文显示有问题
lang11zi 2003-08-19
  • 打赏
  • 举报
回复
学习
sczyq 2003-08-19
  • 打赏
  • 举报
回复
to: pp4u(方便面(三天内结贴))

你的方法是可以,问题是显示中文有问题
delphine 2003-08-19
  • 打赏
  • 举报
回复
用xmlHttp OK
yancey 2003-08-19
  • 打赏
  • 举报
回复
最好不要用xmlhttp,用serverXMLHttp,用法差不多
或者用我写的组件,见
http://expert.csdn.net/Expert/TopicView1.asp?id=2152627
yancey 2003-08-19
  • 打赏
  • 举报
回复
最好不要使用XMLHTTP,用ServerXMLHTTP,用法和楼上的基本一致
或者用我写的组件,见
http://expert.csdn.net/Expert/TopicView1.asp?id=2152627
pp4u 2003-08-19
  • 打赏
  • 举报
回复

<%
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "GET", "http://10.0.0.51/riseOffice/Utility/RiseOfficeDisplay.asp", False
xml.Send
Response.Write xml.responseText
Set xml = Nothing
%>
lions911 2003-08-19
  • 打赏
  • 举报
回复
xmlhttp或许可以
pp4u 2003-08-19
  • 打赏
  • 举报
回复
用 xmlhttp
2599 2003-08-19
  • 打赏
  • 举报
回复
不用框架的话不大可能,除非你自己写一个组建

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧