In JSP -------
Everytime while accessing the /Login.do am getting the validation errors also like(user is required and password is required). After refreshing the page is disappears.
I tried adding
response.setDateHeader ("Expires", -1);
but no use.. Everytime at first login I got the validation errors. Please assist me to resolve this.
I think that is not because of chached errors...
that may be because , you are directly going to the Login Action without going thru JSP and as you have validatation hrnce it is fired and you are having Action Errors on the page...
i think ,you can break your action in to 2 action
1st for, just to redirect to Login.jsp,when user just click on Login Link.
2nd for, to validate and forward on action,when user enter userid/pass and hits submit button.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop