Did you try <s:submit ? Regards,
Jishnu Viswanath Software Engineer *(+9180)41190300 - 222(Ext) ll * ( + 91 ) 9731209330ll Tavant Technologies Inc., www.tavant.com PEOPLE :: PASSION :: EXCELLENCE -----Original Message----- From: hisameer [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2008 3:54 AM To: user@struts.apache.org Subject: What is the best way to handle cancel, Update, Back Buttons in Struts2 Hello Everyone I know this might be very easy for you guys but it is being difficult for me.:working: I am developing an updateUser.jsp page and it has three buttons those are: Update, Cancel, Back Now if I press update it should invoke the updateUser action mapping also I need to do the validation first before I do something else. If Cancel is pressed the previous values which was already there in the field should be displayed and when I press Back button it should not do anything just go to my userList page. So I am not able to understand how should I handle the struts.xml and the jsp code. I know I can use built in validator framework and by defining the validation.xml file for those fields but whenever I cancel or go Back the error message appears in the page so I don't know how should I handle this thing. Please tell me the best way from your experience how should I handle this kind of situation. Thanks for the help in advance! -- View this message in context: http://www.nabble.com/What-is-the-best-way-to-handle-cancel%2C-Update%2C -Back-Buttons-in-Struts2-tp18621308p18621308.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Any comments or statements made in this email are not necessarily those of Tavant Technologies. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you have received this in error, please contact the sender and delete the material from any computer. All e-mails sent from or to Tavant Technologies may be subject to our monitoring procedures. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]