Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding values not clearing in the Form

 
Rick Charles
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

i am navigating from page1 to page2 and in page2 am performing a DB operation and then when i navigate back to page1 i am finding that the values which were in page1 remained the same. i really dont know why this happens.Is there anything wrong with the struts-config.xml file.

Thanks in advance
Rick...
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you navigate back to page 1, you must re-read the values from the database, just as if you were diplaying it for the first time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic