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.
My JSP page reads some data from a bean. The problem is that when a refresh appears, my page does not read anymore from the bean; instrad, it shows the values from the first initialization. Where could be the problem? Yours greenhorn, Ady
It sounds like you are getting a new Bean with every request-response transaction. If you want to save the state of the Bean between calls, you will have to attach it to the session with setAttribute() or make other provision for preserving it. Bill
Joined: May 08, 2000
Thank you for your reply Bill; in the meantime I've found a solution that is more suitable to my case: <meta http-equiv="Expires" content="0"> produces exactly the effect that I wanted. Regards, Ady