2013/9/22 Lukasz Lenart <lukaszlen...@apache.org>: > You should never ever allow to access JSPs directly! Thus can be > potential security risk! > > What you want to achieve are two actions: > - login-form.action to display login form > - login.action to submit login form to and perform validation/user login
There is one more option: login!input - as input method is skip during validation - check struts-default.xml and defaultStack definition. Or read docs ;-) http://struts.apache.org/development/2.x/docs/validation.html#Validation-TurningonValidation Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org