On Monday 23 June 2003 13:12, imran ali wrote: > 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.
There are several ways to handle it. If it were me, I would use a hidden value so that you can check it in the action class and forward appropriately. Although this takes away a few points on the maintainability scale. > > 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] -- 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]