struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mano Chinthaka Dasanayaka" <m...@mubasher.net>
Subject RE: Preventing redisplay for <html:text>.?
Date Wed, 15 Nov 2006 07:42:54 GMT
You have to reset the field values if the insertion is successful...
U can do it from the Action..
Regards,
mano

-----Original Message-----
From: Mallik [mailto:malli345@yahoo.com] 
Sent: Wednesday, November 15, 2006 12:53 PM
To: user@struts.apache.org
Subject: Preventing redisplay for <html:text>.?


Hi friends 
the situation is:
i have a form in that there are some text fields when i click on submit,
data should save to database and the same form should display. If the any
primary key problem then the form with message like "record already existed"
should display.
Every thing is ok but when data inserted successfully form displaying with
data in text fields, this should not for me
how can i prevent redisplaying the data if inserted successfully.
Help me please

ur's
Mallik
-- 
View this message in context:
http://www.nabble.com/Preventing-redisplay-for-%3Chtml%3Atext%3E.--tf2634443
.html#a7353114
Sent from the Struts - User mailing list archive at Nabble.com.


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





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


Mime
View raw message