asp frame问题

zzcwyu 2009-05-16 09:35:30

<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>对象用法示例</title>
</head>
<frameset framespacing="0" border="false" cols="180,*" frameborder="0">
<frame name="left" scrolling="auto" marginwidth="0" marginheight="0" src="chat.asp">
<frame name="right" scrolling="auto" src="chat.asp">
</frameset>
<noframes>
</noframes>
<body>
<form action="" method="post" name="form1">
请发言:<input type="text" name="pronunciation" size="30">
<input type="submit" Value="确定"></form>
<%
If trim(request("pronunciation"))<>"" then
Application.lock()
Application("show")=request("pronunciation")&"<br>"&_
Application("show")
Application.unlock()
end if
Response.write Application("show")
%>
</body>
</html>


我用DW预览,却出现如下的情况:

当我把frame的代码放在html格式文件时,并且将所有的src都改为html格式文件却能正常显示,
不知是怎么回事?HELP
...全文
140 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
lichao443668816 2009-05-16
  • 打赏
  • 举报
回复
有些页面没有 建立吧
zzcwyu 2009-05-16
  • 打赏
  • 举报
回复
zzcwyu 2009-05-16
  • 打赏
  • 举报
回复
也就是我预览的时候,却出现了我一个对话框:文件下载,
zzcwyu 2009-05-16
  • 打赏
  • 举报
回复

真晕,显示不出来
xxbd123 2009-05-16
  • 打赏
  • 举报
回复
你要配合服务器 才能 解析 asp

你这样等于属于的 file路径(X:\XXXX.asp) 而不是 url(http://www.xx.xx)

so
本地打开的话是不会解析的 then 本地打开就成下载了


另外 :
也可能是你的iis等服务器软件 没有配置好 解析asp文件失败 或者 不识别asp

lingyun410 2009-05-16
  • 打赏
  • 举报
回复
DW的代码预览只是用来查看静态页面中布局的
对于动态页面是没有办法在不运行的情况下查看输出内容的。
不过你可以架起站点来,运行程序查看效果。
zzcwyu 2009-05-16
  • 打赏
  • 举报
回复
建了,怎么会没建呢

28,391

社区成员

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

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