That's just what I thought would be best. But how can I see in my Action which button was hit ?
[EMAIL PROTECTED] schrieb: > > One way is to do a forward from within the action. Ie: both buttons still > submit to same action to start with, but if its detected that it was a > cancel then the action immediately returns an ActionForward that forwards > the request on to the action/jsp/etc... that you want to go to if they hit > cancel. > > -----Original Message----- > From: Marcus Biel [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 03, 2002 16:37 > To: [EMAIL PROTECTED] > Subject: different forwards from form > > I got a form for editing a data records. > When I hit "cancel" I want to display an other page then when I hit > submit. > > How to do this ? > > thx, > > marcus > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>