This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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.
It is sorta covered in the JavaRanch Style Guide.
subject: jsp include:
jQuery in Action, 3rd edition