I'm pretty sure the error.message1 key which is looked up in the resource file can be displayed in the resulting jsp with: <html:errors/>
In regards to the exception, that's stored as a request attribute, which can be obtained via: <% Exception e2 = (Exception) request.getAttribute( Globals.EXCEPTION_KEY ); %> -----Original Message----- From: Andy.de [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 27, 2006 4:29 AM To: user@struts.apache.org Subject: global exceptions, key? Hi struts experts, i have a global exception at my struts-config like this: <exception key="error.message1" type="de.myPackage.myException" path="/error.jsp"/> How can i display the text specified by the key attribute on my jsp? How can i display myException.getMessage() and/or myException.getStackTrace() on my jsp? Regard, Andy -- View this message in context: http://www.nabble.com/global-exceptions%2C-key--tf2343367.html#a6522670 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]