Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

dealing with javax.faces.application.ViewExpiredException in jsf 1.2

balteoNov 17 2010 — edited Nov 17 2010
Hello,

I am working on a jsf 1.2 application and I am trying to implement a way to deal with the ViewExpiredException. Here is what I tried:

<error-page>
<exception-type>javax.faces.application.ViewExpiredException</exception-type>
<location>/WEB-INF/include/viewExpired.jsf</location>
</error-page>

(there is a viewExpired.xhtml file in the same folder as the jsf file)

What happens is that the above exception is indeed thrown by my app by an ajax component but the error page is not displayed leaving the user with an application that is not working.

Can anyone please help?

Thanks in advance,

Julien.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2010
Added on Nov 17 2010
2 comments
683 views