Hi friends, I just now decided to migrate from JSP to Struts and i started learning my own. I just use the code in the book and it works perfectly. It just displays some set of text boxes for user Registration and when user click Submit it just tell "Reg successful...".. My question is when i load the page the error message that which i give in ApplicationResource is displayed as default. And when i enter some inputs and leaving some mandatory fields..It just shows that corresponding error message and other vanished. My will is, By default no error message is displayed in <html:errors/> tag...How can i achieve that... I not intend to ask such question but i left with no choice because i am a newbie to Struts... Hope ranchers will help me...
Here is my LoginForm.jsp
Here is my ActionForm.java
Guide me to the glory..
Never try to be a hard-worker. Be a smart-worker.
The error was resolved and after changing from session to scope... i won't get the desired output.. By default when the page is loaded the <html:errors> show all the errors.. but i need them to be displayed after validation.... [ July 23, 2008: Message edited by: Rajkumar balakrishnan ]