portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: How to handle exception ????
Date Mon, 09 Jan 2006 17:33:14 GMT
Emandi, Srinivasrao wrote:
> Hi all
> 	Can any one say , how to handle exception in portlet. Is there is any concept of configuring
an error page in portlet.xml as if it was done in web.xml.
> 	If any runtime excetion occurs i want to forward to error page, how to handle this...
> Thanks in advance...
> 
The portlet spec does not cover the declaration of error pages, but in 
your application you are free to forward to a JSP page on error.

If you want the portal to handle the exception, throw a PortletException
A new feature for configurable error pages handled by the portal would 
be valuable in my opinion

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message