angelheavens(龙辉) 你好,你刚才你回复我的问题,请再进来看看

wjhcjg 2003-10-19 04:16:01
问题如下:
<%filename=request.querystring("click")
if filename="" then
resposne.write "非法进入!"
response.end
end if
str="<!--#include file=glbfile/htm/"&filename&" -->"
%>
<BODY >
<%=str%>
</BODY>

请问我打出str后,为什么达不到效果,比如str的值取得为<!--#include file=glbfile/htm/5@200310191450562.htm -->

但是我运行后不会打开5@200310191450562.htm这个文件,我要在语句中
<!--#include file="ASP的一个变量" --> 要实现在一个ASP页中动态打开一个变量名的文件,怎么实现,谢谢,很急的用!!!


你的回复:server.execute("glbfile/htm/"&filename)

我的再问:
如用server.execute("glbfile/htm/"&filename)去实现的话,我上面页的一些javascript控制代码无法在glbfile/htm/"&filename的文件中实现,还有没有新的办法
...全文
30 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
angelheavens 2003-10-19
  • 打赏
  • 举报
回复
可以了吗?

28,390

社区成员

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

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