Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp include:

 
Manoj John
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the reset method of your ActionForm. It's probably getting cleared out there.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic