struts2 第二讲

来源:互联网 发布:.shop域名价值 编辑:程序博客网 时间:2024/06/10 01:07

这一讲是接着上一讲的!


主要讲了登录验证。


问题如下:

1、struts2是怎么实现通过继承Actionsupport用它的方法validate(),实现验证,然后怎么实现通过addFieldError添加提示?


2、struts2是怎么通过struts.xml实现跳转的?


3、struts2又是怎么通过web.xml实现监视的?

0 0