struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hubert Rabago <>
Subject Re: Clearing Input fields
Date Wed, 05 May 2004 15:55:31 GMT

Aside from putting your form bean in request scope, you really don't need to
do anything special to clear the form when a new form is being shown. 
Javascript certainly isn't required to clear it.  Try it out and mail back if
just putting it to request scope doesn't work as you expected.


--- Brian Boyle <> wrote:
> Hi guys!
> I was wonderng if anyone could help me with aporblem I have. I input data 
> into my input fields on my JSP page. If I press reset the fields are 
> cleared. I press submit and my ActoinForm reads the data in and my Action 
> processes it etc.... However, when I return to this page again the same
> data 
> is still there in hte input fields. When I press my reset button nothing 
> happens. I want to be able to return to the page again and the fields be 
> cleared. I don't want to see the same ddata in them.
> Any ideas on how to do this?
> Thanks for your help
> Brian
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message