[opencms-dev] CmsJspActionElement: includeSilent vs include

Peter korn peterkorn at gmx.net
Tue Aug 15 16:45:39 CEST 2006


Hi list,

i am using the Method CmsJspActionElement.include(url) to include a jsp Page. 
It works good, but when there is an Exception in the included jsp page the include method dont throws an Exception. It just does not include anything and i get a blank page in the browser. (I wanted to catch the Exception and show an nice Errorpage)

There is a second Method in the CmsJspActionElement called includeSilent and the Javadoc says that this is the method that don't throws an Exception.
So is there a way to get an Exception from the include method?

(i use OpenCms 6.0.4)

thanks for any help

Peter
-- 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the opencms-dev mailing list