File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes remeber input values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "remeber input values" Watch "remeber input values" New topic
Author

remeber input values

Fernando Dominguez
Ranch Hand

Joined: Sep 01, 2006
Posts: 104

Hello

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.

Thanks
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: remeber input values