I am suggesting that you should have a single action having a method for each of the page. This can be configured by using DispatchAction class and configured in struts-config.xml using the attribute "parameter" for finding which of the method to execute.
Thanks, Satish -----Original Message----- From: teknokrat [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 5:02 PM To: [EMAIL PROTECTED] Subject: Re: I have a form spread over several pages. The user fills out each section in progression. I am using a dispatch action and each page calls the same function i.e. processForm. I want struts to validate each submission but I cannot change the input page Kataria, Satish wrote: > Hi, > Instead of having a single function what I would suggest in ur case is a > session scoped action form > And each page having same actionform but different action mapping. Thus > using this you can specify approiate page as the input page. > For code examples refer to struts documentation of using action scopped > action form. > Please revert in case of any problems. > > Thanks, > Satish Kataria > > -----Original Message----- > From: teknokrat [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 8:11 PM > To: [EMAIL PROTECTED] > Subject: I have a form spread over several pages. The user fills out > each section in progression. I am using a dispatch action and each page > calls the same function i.e. processForm. I want struts to validate each > submission but I cannot change the input page in t > > > I have a form spread over several pages. The user fills out each section > > in progression. I am using a dispatch action and each page calls the > same function i.e. processForm. I want struts to validate each > submission but I cannot change the input page in the action ( I get > configuration frozen thrown). I don't want to send the user back to the > beginning page if they've only made a mistake in the last page so what > am I to do? > > thanks > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] I am interested in this too, but do not understand the suggestion. Are you saying that if you have a 10-page input process you should define 10 separate actions? Is there no way to dynamically change the input page in struts? thanks --------------------------------------------------------------------- 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]