登录: login.jsp: <html> <head> <title>JSP for LoginForm form</title> </head> <body> <html:form action="/login"> 用户名 : <html:text property="username"/><html:errors property="username"/><br/> 密码 : <html:password property="password"/><html:errors property="password"/><br/> <html:submit value="登录"/><html:reset value="重填"/> <a href="reg.jsp" mce_href="reg.jsp">注册</a> </html:form> </body> </html> loginAction.java: public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { LoginForm loginForm &#