File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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:
subject: jsp include:
It's not a secret anymore!