asp中插入jsp语句
<%session("docid")=request.QueryString("id")
if session("docid")<>"" and session("docid")<210 and session("docid")>201 then
[b]response.Write"
<SCRIPT LANGUAGE="JavaScript">
function password() {
var testV = 1;
var clf = prompt('请输入密码:','');
while (testV < 3) {
if (!clf)
history.go(-1);
if (clf == "haoshi") {
alert('密码正确!');
break;
}
testV+=1;
var clf =
prompt('密码错误!请重新输入:');
}
if (clf!="password" & testV ==3)
{alert('密码或用户名错误');window.close();}
}
document.write(password());
</SCRIPT>"
response.redirect "doc_more1.asp"
[/b]else
response.Redirect"doc_more2.asp"
end if
%>
各位前辈,如何在asp程序中,加入jsp呢,加黑的地方是不对,请前辈指点!我是希望如果在201到210的范围内,如果密码正确就跳转到doc-more1.asp,您帮忙看看,谢谢:handshake 我想在asp中应用一端jsp的代码,应该怎样做呢:handshake 谢谢 学习中
↓↓↓↓ 我觉得应该从这儿开始就是不对的,response.Write"
<SCRIPT LANGUAGE="JavaScript">前辈帮忙看看:handshake 谢谢 哎,只能自己顶:L :handshake 大虾帮忙呐
页:
[1]