I use "global-exception-mappings" to catch global exception in my project. for example, in my struts config file, I use following to handle exception <global-results> <result name="unhandledException">/common/exception.jsp</result> <result name="myexception">/common/myexception.jsp</result> </global-results>
<global-exception-mappings> <exception-mapping exception="java.lang.Exception" result="unhandledException"/> <exception-mapping exception="xxx.MyException" result="myexception"/> </global-exception-mappings> Here, it can redirect to error page when some exception occures. My question is: how can I get the exception info in the jsp page? For example, I hope display the exception message or exception stack in the jsp page. -- View this message in context: http://www.nabble.com/How-to-get-Exception-info-when-I-use-global-exception-mappings--tf3781586.html#a10694515 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]