The only way I found was to do the following: Turn on validate.
Don't return the errors generated, put them in the request under the Globals.ERRORS_KEY. This way, the ActionServlet will not return immediately to prior page but the ErrorsTag will still know where to find the errors. Save the last action map in your form in the prior action. All you need is the string. At the start of your action pull the errors from the request, if there are any errors, and return to the mapping you saved in your prior action. Not to straight forward but not a big deal either. Edgar > -----Original Message----- > From: Sri Sankaran [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 9:41 PM > To: 'Struts Users Mailing List' > Subject: RE: Action input > > > If your intent is to re-use the same action class you can > simply create an action mapping for each usage. The only > thing that has to be unique is the path. Each action mapping > can, of course, define it's own input attribute; effectively > providing the dynamism you seek. > > Sri > > -----Original Message----- > From: harish krishnaswamy [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 8:30 PM > To: [EMAIL PROTECTED] > Subject: Action input > > > Is there a way of providing the action input in a > dynamic fashion? In other words, if I had the same > action being submitted from multiple pages/forms, how > would I go back to the page/form I came from? > > __________________________________________________ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

