You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephen Chang <sc...@yahoo.com> on 2001/01/06 02:33:25 UTC

best way of catching Exceptions in XSP/Cocoon?

Hi, wanted to get a round of suggestion from all of
you out there on what you think is the best way to
catch exceptions in XSP logic blocks. In my XSP pages,
I usually have a <xsp:logic/> block in the beginning
which reads in requestParameters and so on. Later on
in the page I may try an <xsp:expr> to evaluate some
variables; what do you think or where in the file do
you think is it the best to catch exceptions so that
my stylesheet can just generate some generic error
page? Or am I asking too much and should just
reorganize my logic blocks.?

Thanks!

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/