各位请看我的下面一个贴子,再加50分求解。

youyou 2000-07-21 10:51:00
...全文
96 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
Tommy Chang 2000-07-24
  • 打赏
  • 举报
回复
content type也要设一下,否则asp所生成的代码不会被当作javascript运行,另外,最好加上charset=gb2312,否则里面的东西会出错。而且string里面要对一些特殊字符进行处理。
btw,如果你碰到浏览器弹出个窗口,要下载你的asp,就将content type中再加入text/plain的类型。(当初是在apache+websphere上调试程序碰到这种情况的)

:)
huntout 2000-07-24
  • 打赏
  • 举报
回复
---202.201.201.109/send.asp---
<%@ Language=VBScript %>
<%
string = "send string"
response.write "document.write('" & string & "');"
%>

---202.201.201.111/receive.htm---
<html>
<body>
<script language=javascript src='http://202.201.201.109/send.asp'>
</script>
</body>
</html>
youyou 2000-07-22
  • 打赏
  • 举报
回复
总共100百分的问题,怎么没人响应???
请看http://expert.csdn.net/TopicView.asp?id=16261。

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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