[jboss-user] [JBoss Portal] - Re: How to show error page in a portlet
Antoine_h
do-not-reply at jboss.com
Wed Dec 12 14:38:56 EST 2007
you have to catch the exception in the action or render method of the portlet, then produce the error page instead of the content of the portlet.
look at the cms portlet, as an example of how it is managing the "document not found" error.
that is for having the error inside the portlet, for an error that occured inside the portlet processing.
for the general portal error, it is the same as for any JBoss (or Tomcat) web application.
the configuration of tomcat for the portal is in the portal-server.war.
look in this (as you don't mention "which" web.xml you have put your <error-page>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112350#4112350
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112350
More information about the jboss-user
mailing list