|
Home > Archive > WebSphere Portal Server > April 2006 > Error handling
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]
|
|
|
| Hello everybody
I have a JSF portlet where i have added
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error.jsp</location>
</error-page>
to web.xml but exceptions only show up in log and portlets shows 'This portlet is unavailable.' instead of going to the error page.
If is use a navigation rule to go to error.jsp it works fine, but I would like make sure that ALL exceptions incl. runtime end up on error.jsp.
Any indeas???
| |
|
| When using the navigation rule to go to error.jsp how do I get the exception over to the page.
I have tried
getRequestScope().put("exception", e);
and then added 'exception' as scripting variable.
BUT nothing occurs.
|
|
|
|
|