This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
What I am confused about is, if I navigate away from this page, and then navigate back to it, it does not appear as if this section of code is re-evaluated the second time I visit the page. Is this correct? How would I make it be evaluated? I need to because the value of qList and thus the value of quarters should change between the page visits.
if I navigate away from this page, and then navigate back to it
By that do you mean using the Back button? Or navigating back to the page through links?
Hi, I am navigating to the page through links, the first time I visit the page, I click a link which brings me to a differant page, then I click a submit button on that page which brings me back to the origional jsp.
OK, that's a bit different, but perhaps not too much.
It may be the case that when you navigate back to the page, the browser is pulling the old page out of cache. First step is to check whether the browser is actually going back to the server and re-executing the JSP page.
A simple way to check this could be to add some log statements to the JSP code and check whether they get written the second time the page is hit. [ November 03, 2004: Message edited by: Bear Bibeault ]