1.webwork里一个A.jsp提交到一个A.action之后,A.action又转向原来的提交页面A.jsp,那么在A.jsp上原来填写的那些内容还能保留着吗?(像struts里的formbean一样)
现在试了一下发现这样是可以保持填写内容的,不过不知道是不是正确的做法:
2webwork里的action有没有像struts里的dispatchAction呢?
现在试了一下发现这样是可以保持填写内容的,不过不知道是不是正确的做法:
<form name="register" action="registerModel.action" method="post">
Username:<input type="text" name="username" value="<ww:property value="user.username"/>"><br>
Password:<input type="text" name="password" value="<ww:property value="user.password"/>"><br>
Email:<input type="text" name="email" value="<ww:property value="user.email"/>"><br>
Age:<input type="text" name="age" value="<ww:property value="user.age"/>"><br>
<input type="submit" name="Submit"><br>
</form>2webwork里的action有没有像struts里的dispatchAction呢?
832

被折叠的 条评论
为什么被折叠?



