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 8705329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:20:03+00:00 2026-06-13T03:20:03+00:00

Is there any configuration in web.xml which redirects the application to login page after

  • 0

Is there any configuration in web.xml which redirects the application to login page after sesion expired in JSF.I google it but didn’t find any good and simple answer.
I found this but it didn’t work.

 <error-page>
    <exception-type>javax.faces.application.ViewExpiredException</exception-type>
    <location>/faces/index.xhtml</location>
</error-page>

If there is no configuration for this then how can i do this in JSF?
Thanks

  • 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-06-13T03:20:04+00:00Added an answer on June 13, 2026 at 3:20 am

    Possible answer: Handling ViewExpiredException depending on the current view.

    What I’m using is a PrimeFaces – Extensions specific solution called AjaxErrorHandler. Take a look at their showcase for implementation tips.

    As far as I know the above configuration will not work for AJAX requests.

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

Sidebar

Related Questions

Is there any open source web client php application without popup server configuration ,
Is there any tools available to encrypt and decrypt Asp.net Web configuration sections like
Just wanted to check if there is any configuration or parameter to get statistics
I am wondering if there is any other configuration options for a default controller.
In the Mercurial API, is there any way to read the configuration values associated
I've been attempting to pull hard-coded configuration data from a Tomcat web-app which I'm
I have a web application, which was designed and always worked under root context
Is there a way to use my SOAP web service(spring-ws, java) as a XML
I am developing a Java web application that bases it behavior through large XML
I am using JSR 303 Bean validation in my JSF 2.0 web application and

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.