Use the parameter attribute in the struts-config.xml file and then use the request.getParameter() in the form or action.
Shawn -----Original Message----- From: Sun Shine [mailto:[EMAIL PROTECTED] Sent: Sunday, December 04, 2005 5:20 PM To: user@struts.apache.org Subject: help using validate inside ActionForm Hi all, In my application, I'm using one ActionForm Bean for several pages. How do I properly use validate method when user goes from one page to another? It's a collection of data, so, on page 1, I need to validate X fields, on page 2, validate Y fields, etc. Is there an easy way to tell what page I am coming from? Any help is appreciated! Thanks, Penny __________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** This email may contain confidential material. If you were not an intended recipient, Please notify the sender and delete all copies. We may monitor email to and from our network. **************************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]