You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Andreas Leitner <al...@macron.at> on 2001/08/10 11:50:00 UTC
WG: fine grained error handling with html:error ?
Hi,
By looking at struts-example, I just found out about the <html:error>
tag and it's associated mechanism. This really looks promising. Now
maybe I am overlooking the obvious, but is there a way to fine grain the
error headers and footers based on the errors that occurred. The reason
being that if a database error occurred I do not want the user to read
--
Error - You have to correct the following problems before proceeding:
*) Database Missing
--
Rather I would like something:
--
Error - The following internal errors occurred (Please contact the
system administrator)
*) Database Missing
--
many thanks in advance,
Andreas