I have the same setup as you, except that I redirect my exception to the JSP page exception.jsp.
:
<s:set name="ex" value="%{exception}" scope="page"/>
, lib, , , ? , . ( , )
JSP, s: set JSP:
<%
Exception exMsg = (Exception)pageContext.getAttribute("ex");
logger.logException(application.getRealPath("")+ "/WEB-INF/error.txt",exMsg);
%>
<br/><br/>User friendly message here
logger Exception :
StackTraceElement[] stackTrace = exception.getStackTrace();
, , , - , ... - ,