my dog learned polymorphism*
The moose likes JSF and the fly likes Redirect logon page in frames when session timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Redirect logon page in frames when session timeout" Watch "Redirect logon page in frames when session timeout" New topic
Author

Redirect logon page in frames when session timeout

ning zhu
Greenhorn

Joined: Nov 21, 2009
Posts: 3
hi, there

i have tried to redirect logon page after session timeout by adding

<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/sessionExpired.jsf</location>
</error-page>

in web.xml.

It works. BUT since i use the tag <iframe> in index page, so the relogon page always appears in the "sub-frame". I wonder how to make logon page show in the top frame. Any suggestion will be appreciated.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirect logon page in frames when session timeout
 
Similar Threads
doubt in session
JSF : redirect errors to error page
Not Redirecting to error page
Overriding <exception-type> tag in web.xml
Changing the target attribute before making a forward