WebSphere Portal Server - Handling runtime exception in JSF portlets

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > February 2007 > Handling runtime exception in JSF portlets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Handling runtime exception in JSF portlets

2007-02-21, 1:19 pm

How to handle the runtime exception thrown by the getter/setter methods in JSF Portlets? Tried using the general exception handling procedure by including the error-type tag in web.xml like below
<error-page>
<exception-type> java.lang.Exception </exception-type>
<location>/errors.jsp</location>
</error-page>
and forwarding to an error page. It is not working in portal environment. It is throwing assertion failure exception. I am developing jsr168 Portlets using JSF in WebSphere portal 6.0

Thanks in advance
Elan

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com