asp中加入JSP弹出窗口,提示不能在此环境中运行,
llse1 2003-11-20 12:25:03 if (not rs.bof) and (not rs.eof) then
RS("admin")=newadmin
RS("password")=password1
%>
<script language=Javascript>
<!--
alert("管理员代码与口令修改成功!");
this.document.location="addmanage.asp";
-->
</script>
<%
else
%>
<script language=Javascript>
<!--
alert("旧的管理员代码或口令不正确!");
this.document.location="addmanage.asp";
-->
</script>
<%
end if
就这样一个IF语句,在ELSE前后各加了个JSP的弹出式说明窗口,运行时却提示ELSE所在的行为:
在此环境中不允许操作。
这是为什么.