My apologies if this is not specifically struts related, but wasn't too sure.
Running Sun One with Struts 1.1 I was basically attempting to create a jsp that forwarded onto my global error action in the advent of an exception not being caught. Have the following: --- error.jsp --- <[EMAIL PROTECTED] isErrorPage="true" %> <% if(exception == null) { request.setAttribute("message", "There is no message for this error."); } else { request.setAttribute("exception", exception.toString()); request.setAttribute("message", exception.getMessage()); } pageContext.forward("/action/error"); %> ----------------- and --- web.xml --- <error-page> <exception-type>java.lang.Exception</exception-type> <location>/jsp/error/error.jsp</location> </error-page> --------------- But I ALWAYS get "There is no message for this error.", as the implicit exception object is null. Shouldn't I be able to display the exception details? I can't work it out for the life of me. Any help would be greatly appreciated. Regards, Mark Web Application Developer HITACHI DATA SYSTEMS 4/441 St Kilda Rd Melborne, Vic 3004 P +613 9281 9215 / F +613 9281 9191 [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]