Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6330875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:57:00+00:00 2026-05-24T17:57:00+00:00

I have an .xhtml page in which I have tried both BalusC’s suggestion here

  • 0

I have an .xhtml page in which I have tried both BalusC’s suggestion here and also the following without avoiding the OP’s issue

  <meta http-equiv="refresh" content="#{session.maxInactiveInterval}"/>

Basically, I start the application and the form based authentication page is rendered. I then wait for the session time to expire. If I try to login after that then the OP’s problem occurs.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:57:02+00:00Added an answer on May 24, 2026 at 5:57 pm
    <meta http-equiv="refresh" content="#{session.maxInactiveInterval}"/>
    

    The #{session} is available in Facelets only. That it doesn’t work suggests that you are not using Facelets for this particular view, but its legacy predecesor JSP or even plain vanilla HTML.

    For JSP you should be using ${pageContext.session} to get the session, exactly as demonstrated in my answer on the question which you found yourself.

    <meta http-equiv="refresh" content="${pageContext.session.maxInactiveInterval}"/>
    

    Or, much better, get rid of legacy JSP altogether and replace it by its successor Facelets.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My issue is the following. I have a XHTML 1.1 page that has a
Here is my use cases. I have a login page which is /public/login.xhtml .
In my xhtml page I have the following tag included: <f:view locale=#{languageBean.locale}> ... </f:view>
Trying to use JSTL but have the following problem: Index.xhtml page: <?xml version=1.0 encoding=UTF-8?>
I have the following markup inside a master page <html xmlns=http://www.w3.org/1999/xhtml > <head runat=server>
The issue I have a <div> on a page which is initially hidden with
I have the feeling that i'm missing something key here. I've tried following guides
i have a xhtml popup page which has two buttons.The two buttons have actionListener
I have the following page: http://www.bergstenmusic.com/test2 ---> Moved to here: http://www.bergstenmusic.com I haven't been
I have jsp page inside which am calling my xhtml page. Am mapping xhtml

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.