validate=true,就在执行action前form调用validate(),个人觉得如果像楼主这样用,都会先验证,后执行,所以别偷懒,把login单独写成一个action吧