[jboss-user] [JBoss Portal] - Re: Error handling pattern?
nollie
do-not-reply at jboss.com
Fri Nov 3 15:03:29 EST 2006
Thanks Roy! I had not seen that.
What I was hoping for was an opportunity to use my own error message which would fit within my margins and be a little more friendly. In any case someone had turned all those values off and I appreciate the tip.
I had hoped to use my own messages with some error-page tags in my web.xml.
<error-page>
| <exception-type>java.lang.Exception</exception-type>
| <location>/WEB-INF/jsps/exception.jsp</location>
| </error-page>
| <error-page>
| <exception-type>javax.portlet.PortletException</exception-type>
| <location>/WEB-INF/jsps/portletException.jsp</location>
| </error-page>
but I can't seem to get this mechanism to work. If was using these error pages correctly would they fill the portlet, or replace the entire page? If the former, can you point me to information on the subject? I'm unsure which web.xml file this should be placed in - Do I define this for the entire portal or on a portlet by portlet basis?
Thanks again!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983086#3983086
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983086
More information about the jboss-user
mailing list