mohanasundaram muthukannan wrote:Thanks for your reply
I tried this one . Its working . but entire form I cant validate . Any option to validate form?
mohanasundaram muthukannan wrote:Hi Serrainat ,
Thanks for your reply .
but I need put session value in a text field.
but its not working. any mistake in this line please clarify me.
Hrishikesh Maluskar wrote:Can we call two different methods based on the same action in Struts2.
The methods will be called when two different buttons are clicked , for example login button and register button are on the same JSP page.
When we click on login button doLogin() method should be called and when we click on register button doRegister() method should be called.