struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jari Fredriksson" <>
Subject Re: [S1] Global Error Page: Exception available?
Date Thu, 28 Aug 2008 20:04:01 GMT
> Heya!
> Does Struts save the exception anywhere in the request
> before loading a global-error-page? 
> I would not like to catch exceptions in my Action and
> save the error message, and I guess that is a common
> problem.  
> So is there any way I can print the
> Exception.getMessage() in the global error page which was
> shown because of some AccessDeniedException of my own?  

Thanks for all giving a lead.

    <html:errors />

was all that was needed, with a proper key in the global_errors and properties file.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message