aspose file tools*
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 Spring in Action this week in the Spring 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