[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: customized error page question

PeterJ do-not-reply at jboss.com
Mon Mar 30 14:25:29 EDT 2009


What gets displayed to the user depends on the portal, not on an individual portlet. A portal page can contain many portlets so showing an error page because one portlet has an issue is typically not what it done. You could, however, display some kind of error message within the portlet itself.

JBoss Portal does give some control over how it should behave when a portlet runs into a problem. Look at the control.portal.* and control.page.* properties in the jboss-portal.sar/conf/data.default-object.xml file.
http://docs.jboss.org/jbportal/v2.7.0.B1/referenceGuide/html/errorhandling.html

Oh, by the way, when posting XML text or source code, please enclose the text in "code" tags  - you can do this by selecting the text and clicking the Code button above the editor window. Also, click the Preview button to ensure that the formatting is correct and the XML text shows up before posting. If you don't do this, the forum will not filter your input and instead give it to the browser which will assume that you have given it html tags to interpret.
 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222096#4222096

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222096



More information about the jboss-user mailing list