jsp菜鸟请教下面的代码错误
提交页代码:<%@ page contentType="text/html;charset=gb2312"%>
<html><body bgcolor=red><font Size=3>
<FORM action="process.jsp" method=post name=form>
<div align="center">用户登录
<p><tr>
<td>用户名:<input type=text name="name"
size=18>
密码:<input type=text txt="txt"
size=18>
<td>
<tr>
<br><input type=submit value="提交" name="mysub">
<input type=submit value="全部重写"name=mysub >
</FORM>
</font></body></html>
处理页代码:
<%@ page contentType="text/html;charset=gb2312"%>
<html><body><bgcolor=red><font Size=3>
<%
String name=request.getParmter("name");
String txt=request.getParmter("txt");
if(name.lenght()==0)
<jsp:forword page="login.jsp"/>
else(name!==0)
<%=name%>
%>
<jsp:forword page="login.jsp"/>
<br>用户名:<%=name%>
<br>密码:<%=txt%>
</font></body></html>