wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "jsp include:" Watch "jsp include:" New topic

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

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
Reload XML, before Parsing
jsp...urgent help required
How to make it blank?
Problem retaining form field after submission
populate the combo box when the jsp page is first loaded