Problem with "Refresh"

Discussions

Web tier: servlets, JSP, Web frameworks: Problem with "Refresh"

  1. Problem with "Refresh" (1 messages)

    My JSP page gets some values from a bean. On "Refresh", the values from the bean are not loaded, my page uses instead the previous values from the memory. Why the bean is not accessed on "Refresh?"

    Please reply if posible,
    Ady
  2. Problem with "Refresh"[ Go to top ]

    Adrian,

      We will need more details than this to help you. For example, where are you storing this bean? In your session? Are you storing it at all, or it just created when someone accesses the page?

        When someone pressres refresh, the browser should go back to the server and re-request the page, so the problem sounds like it is on the server side of things. Are you using page expiry dates? Maybe that is where the problem lies.

    Floyd