This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Struts and the fly likes jsp include: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp include:" Watch "jsp include:" New topic
Author

jsp include:

Manoj John
Ranch Hand

Joined: May 13, 2004
Posts: 36
In my application one registration page is there.
In that page i am populating state combo from database according to country selected.But when refreshing the page after getting the data the other fields data vanishes.but i need to keep it there in order to execute action for inserting it into database.
Can i separate the the two combo and after populating states from database
and to refresh only that jsp,keeping the values in other fields.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

Check the reset method of your ActionForm. It's probably getting cleared out there.


A good workman is known by his tools.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp include:
 
Similar Threads
populate the combo box when the jsp page is first loaded
How to make it blank?
Reload XML, before Parsing
jsp...urgent help required
Problem retaining form field after submission