Results 1 to 3 of 3
  1. #1
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default warning: page has expired

    I'm working with struts. and after login when I click any link and then go back..the page is giving warning page has expired.
    What's the problem?
    What am I doing wrong?

    thank you

  2. #2
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    10

    Default

    check if the previous page you are going to is in session scope or request scope.

  3. #3
    Peter is offline Senior Member
    Join Date
    Jun 2007
    Posts
    119
    Rep Power
    0

    Default

    Hi, I'm using session scope in previous page. I'm using
    Java Code:
    session.setHeader("Cache-Control", "no-cache"); response.setHeader("Cache-Control", "no-store"); response.setDateHeader("Expires", 0);
    response.setHeader("Pragma", "no-cache");
    in my jsp page.
    I removed this and it worked!!


    thanks heather

Similar Threads

  1. WARNING NetBeans HTTP Monitor
    By bbq in forum JavaServer Pages (JSP) and JSTL
    Replies: 3
    Last Post: 09-19-2008, 06:02 PM
  2. help with jsp page
    By praveena in forum New To Java
    Replies: 3
    Last Post: 02-05-2008, 12:08 PM
  3. Need help with a web page
    By mspiro in forum New To Java
    Replies: 0
    Last Post: 12-26-2007, 07:58 PM
  4. how to reload a jsp page
    By Heather in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 07-14-2007, 11:49 PM
  5. How to run jsp page
    By nikisonproblem in forum New To Java
    Replies: 1
    Last Post: 07-09-2007, 03:16 PM

Posting Permissions

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