JSP小程序。出现了??
代码如下:
post1.htm:
<%@ page language="java" %>
<%@ page contentType="text ml;charset=GB2312" import="java.util.*"%>
<html>
<head>
<title>欢迎您的进入!</title>
</head>
<body bgcolor="cyan" text="GREEN" link="yellow" alink ="purple" vlink="red" >
<FONT size="10" >
</FONT>
<br><br><br><br><br>
<CENTER><B>
<FORM ACTION="post1.jsp" method=post name=form >
<p>您的姓名:<INPUT type=text name=txt SIZE=30></p>
<p>您的生日:<INPUT type=text name=bt SIZE=30></p>
<p>密码:<INPUT type=password name=pw SIZE=35></p>
<INPUT type=submit value="登录" name=submit1>
<INPUT type=RESET value="重置" name=reset1>
</FORM>
</B><CENTER>
</body>
<html>
post1.jsp:
<%@ page contentType="text/html; charset=gb2312" %>
<html>
<head>
<title>POST</title>
</head>
<body>
<center><b>
<font size=5 color=blue>post方法的应用
<hr><br>
</font>
<p></p>
<font size=4 color=blue>
姓名<%= request.getParameter("txt")%><br>
请记住你的登录密码:
<br><br>
生日<%=request.getParameter("bt")%><br>
<font color=red>
密码<%= request.getParameter("pw")%>
</font></font>
</b></center>
</body>
</html>
运行时如果输入中文就出现???
这是什么问题啊!!谢谢了。