File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
populated form fields
Joined: Feb 24, 2004
Nov 19, 2004 13:50:00
I use Weblogic 8 ,
1.1 on win2000
I submit the form on itself. i.e educationalBackground.jsp submits and comes back to educationalBackground.jsp.
Now After successful submission when It comes back to same page , the form fields are populated with most recent values !!!
Joined: Feb 05, 2003
Nov 19, 2004 16:05:00
You could have your Action either call the reset method on the form when it is done with it or the Action can remove the ActionForm from scope (it is stored as an attribute under the key of what name you gave the form-bean in struts-config.xml.
A good workman is known by his tools.
subject: populated form fields
Form Data not being populated in Struts 2
Stripes: how to avoid repopulating a textfield
Actionform not populating JSP
Calling a controller method without reloading whole page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015