struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Clinton <bclin...@snipermail.com>
Subject Template Question: does errorPage directive need to be placed in each page?
Date Wed, 01 Aug 2001 20:31:09 GMT
Hello,
     I have been using struts for a little while now, but I am just 
starting to try out the template tags.  So far, I have been very 
impressed.  But I have a question about the errorPage directive.  I was 
hoping that I would only need to use it once in the template I defined, 
but that does not seem to work when exceptions happen in one of the 
pages that make up the template.
     So, I tried placing the errorPage directive in each page in the 
template, but that had the undesireable effect of inserting the 
errorpage into the template in the place of the page with an exception. 
  For Example, if I have a template defined that has a side menubar, and 
there is an exception in the menubar, the error page would occupy the 
position of the menubar, instead of the diplaying the errorpage as its 
own page.
    Does anyone have any input on this? I searched the archive and did 
not find anything on this, so I am guessing (hoping) that I am missing 
something.

Thanks in advance for any replies,
Bill


Mime
View raw message