You must have a property in your form, and according from which jsp you come, you must update this property, so in your ActionServlet you know where to go.
Vangos ----- Original Message ----- From: "imran ali" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, June 23, 2003 7:12 PM Subject: : Re: cancel button > Thanks for help. I have some more prob. I can come to this form > from two different jsps, now how will i know which jsp path to > give in findforward. > > > > On Mon, 23 Jun 2003 imran ali wrote : > >These are forms with various entries to be fill in. Now user may > >enter and then hit submit. And got to nest page. Or he may enter > >half of them and then decide to cancel and hit cancel and then go > >back to previous page. > > > > > >On Mon, 23 Jun 2003 James Mitchell wrote : > >>On Monday 23 June 2003 12:16, imran ali wrote: > >> > Hi > >> > I have a cancel button in my jsp. It is of submit type. > >>I > >> > want to go to previous page on hitting this button. How can I > >>do > >> > it in pure struts way. I am not allowed to use history.back > >>etc. > >> > As cache may be disturbed by other processes. > >> > >>This depends on what you are doing. Is this part of a wizard or > >>simply > >>navigational links? > >> > >> > > >> > Please help > >> > > >> > Thanks. > >> > > >> > Imran > >> > ___________________________________________________ > >> > Impress your clients! Send mail from me @ mycompany.com . > >> > Just Rs.1499/year. > >> > Click http://www.rediffmailpro.com to know more. > >> > > >> > > >> > > >>--------------------------------------------------------------------- > >> > To unsubscribe, e-mail: > >>[EMAIL PROTECTED] > >> > For additional commands, e-mail: > >>[EMAIL PROTECTED] > >> > >>-- > >>James Mitchell > >>Software Developer/Struts Evangelist > >>http://www.struts-atlanta.org > >>770-822-3359 > >>AIM:jmitchtx > >> > >> > >> > >>--------------------------------------------------------------------- > >>To unsubscribe, e-mail: > >>[EMAIL PROTECTED] > >>For additional commands, e-mail: > >>[EMAIL PROTECTED] > >> > > > > > >Imran > >___________________________________________________ > >Impress your clients! Send mail from me @ mycompany.com . > >Just Rs.1499/year. > >Click http://www.rediffmailpro.com to know more. > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > >[EMAIL PROTECTED] > >For additional commands, e-mail: > >[EMAIL PROTECTED] > > > > > Imran > ___________________________________________________ > Impress your clients! Send mail from me @ mycompany.com . > Just Rs.1499/year. > Click http://www.rediffmailpro.com to know more. > > > --------------------------------------------------------------------- > 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]