This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
Don't get me started about those stupid light bulbs.
 
subject: Redirect logon page in frames when session timeout