struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Biel <Marcus.B...@bmw.de>
Subject Re: different forwards from form
Date Tue, 03 Dec 2002 09:01:20 GMT
No, my problem is different!

A simple reset would be easy -
but I want to hit reset when I am editing -
when editing and I hit submit, it calls an action,
that updates the record,
then it forwards to a new jsp, that's says:
"Your record has been edited successfully."

Now if I add a cancel button, it works,
but also forwards to this same page,
instead of to the regular start page.

marcus

gemes@regens.hu schrieb:
> 
> 2002. december 3. 09:37 dátummal Marcus Biel ezt írtad:
> > 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 ?
> 
> Read the docs! Take a look at the struts-example.war, or read the struts-tips
> at husted.com:
> 
> http://www.husted.com/struts/tips/014.html
> 
> Hth,
> 
> Tib
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message