@Override
public ActionForward execute(Exception exception, ExceptionConfig arg1, ActionMapping mapping, ActionForm arg3, HttpServletRequest req, HttpServletResponse arg5) throws ServletException {
String userName = req.getUserPrincipal() == null ? "`ANONYMOUS USER`" : req.getUserPrincipal().getName().toLowerCase();
correctStrutsLocale(req);
InputException e = (InputException) exception;
e.generalLog(userName);
req.setAttribute("userMessage",e.getUserMessage() == null ? "" : e.getUserMessage());
return mapping.findForward("inputErrorPage");
}
}