[求助]这个简易的聊天页面怎么不能用呢??
<%@page contentType="text/html;charset=GBK"%>
<html>
<body>
<%
if(application.getAttribute("chat")!=null){
if(request.getParameter("mywords")!=null){
String mywords=request.getParameter("mywords");
mywords=(String)application.getAttribute("chat")+"<br>"+mywords;
application.setAttribute("chat",mywords);
out.print((String)application.getAttribute("chat"));
}
}
%>
<form action="421.jsp" method="get">
<input type="text" size="30" name="mywords" value="i like chat">
<input type="submit" name="submit" value="提交">
</form>
</body>
</html>