Results 1 to 2 of 2
  1. #1
    grep is offline Member
    Join Date
    Apr 2010
    Posts
    1
    Rep Power
    0

    Default Newb here, need help with JSP.

    Hi all,

    When data is changed from the DB the JSP shows it to the user. The
    problem is that the JSP doesn't reload with the new data until I close
    session and start it again.

    My flow is like this:

    USer sign in (start session) -> goes to XXX.jsp and fetchs data from
    the DB -> data is changed from the DB -> XXX.jsp does not show the new
    data until I stop session and start it again.

    How can I make the JSP show me the new data?

    Thank you very much in advance!

  2. #2
    flyfisherman is offline Member
    Join Date
    Mar 2010
    Posts
    26
    Rep Power
    0

    Default

    delete session var in the jsps footer part and fill it again in the header so you JSP will always have the new one...

Similar Threads

  1. Hello, I'm a newb
    By smith427 in forum New To Java
    Replies: 1
    Last Post: 12-03-2009, 03:54 AM
  2. Another Newb, with some problems.
    By Carrier in forum Introductions
    Replies: 0
    Last Post: 04-22-2009, 10:26 PM
  3. Help with newb-project much appreciated
    By barr in forum New To Java
    Replies: 7
    Last Post: 12-11-2008, 12:14 PM
  4. Java newb Q: 8-digit id
    By 1111FM in forum New To Java
    Replies: 2
    Last Post: 09-29-2008, 03:37 PM
  5. Newb Topics
    By dkizzy in forum New To Java
    Replies: 2
    Last Post: 09-17-2008, 08:01 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •