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
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
remeber input values
Joined: Sep 01, 2006
Nov 22, 2007 13:29:00
I would like to show the values submitted in the form when I do a history.back
All properties are declared in struts-config in fact I process all the form in the action correctly.
When I do a history.back() some properties are reminded but no all.
I only can make an history.back I can redirec to to another action.
Why are some prepoerties reminded are not all.
Note all form properties reminded are selects but not all selects are reminded.
Joined: Feb 15, 2005
Nov 25, 2007 10:31:00
My advice is to stop using history.back() in your applications, as it's simply not a good practice The results of it may be different on different browsers depending on how they handle caching.
I'd suggest that you create an action that gets the values from the database and forward or redirect to that action.
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: remeber input values
history.back() and form value dissapear
getting 2D array view in jsp from actionform properties
submit button + selecting content of field automatically
form values lost in request scope
Action without redirect
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013