求教我的asp程序为什么一直显示出错,请高手帮忙指点指点!!!谢O(∩_∩)O谢谢.........
代码如下:<html>
<head><title>都市玫瑰</title>
<style type="text/css">
<!--
.style1{font-family:"华文行楷";font-size:36px;}
.style2{color:#0000ff}
.style3{color:ff99000}
.style4{color:#ff0000}
.style5{font-size:12px;color:#990000;}
.style6{color:#990000}
-->
</style>
</head>
<body bgcolor="#ffFFCC">
<p align="center">
<span class="style1"><span class="style2">都</span><span class="style3">市</span>
<span class="style4">玫瑰</sapn><span class="style2">聊天</span>
<span class="style3">室</span></span></p>
<p align="center"> </p>
<p>
<%
response.buffer=true
on error resume next
if request.servervariables("request_method")="get" then
%>
</p>
<form method="post" action="2-20.asp">
<div align="center"><span class="style5">请输入昵称</span><span class="style6">:</span>
<input type="text" name="name" size="20" value="">
<input name="b1" type="submit" class="style5" styple="font-size:9pt;" value="enter">
</div>
<p>
<input type="hidden" name="log" size="20" value="1"><br></p>
</form>
<%
response.end
else response.clear
dim talk
if request.form("name")<>"" then
session("name")=request.form("name")
end if
%>
</body>
</html>
<head><title>都市玫瑰</title></head>
<body bgcolor="#FFFFFCC">
<form method="post" action="2-20.asp" name="form1">
<p>
<font color="#ff0000"><%=server.htmlencode(session("name"))%></font>说:
<input type="text" name="talk">
<input type="submit" value="提交" name="B1">
<input type="reset" value="取消" name="B2">
</p>
</form>
<a href="2-20.asp">退出聊天室</a><br><br>
<%
if request.form("log")<>1 then
if trim(request.form("talk"))="" then
talk=server.htmlencode(session("name"))
else
talk=server.htmlencode(trim(request.form("talk")))
end if
application.lock
application("show")="
<style type='text/css'>
<!--
.mytd{line-height:10px}
-->
</style>
<table width='85%' border='0' cellpadding='0'>
<tr>
<td class='mytd' width='100%' bgcolor='RGB(10,136,136)'>
</td>
</tr>
<tr>
<td width='100%' bgcolor='#FFccCC'>_
<font color='#0000FF'>来自</font>_
<font color='#99999'>"&request.servervariables("REMOTE_ADDR")&"</font><font color='#0000FF'>
的</font><font color='#666600'>"&server.htmlencode(session("name"))&"</font>_
<font color='#009999'>"&time&"</font><font color='#0000FF'>说:</font></td></tr>_
<tr bgcolor='#CCCCCC'><td width='100%'>_
<font
color='#666666'>"&talk&".</font></td></tr></table><br>"&application("show")
application("show")=""
application.unlock
response.write(application("show"))
end if
end if
%>
</body>
</html>