Re: ActionContext.getContext() is returning null

2009-12-09 Thread Wes Wannemacher
Have you thought about re-creating the logic in FatalErrorServlet in a Struts 2 Action? That would be the optimal solution. I don't think you are going to get an *Action*Context unless you are in an *Action*. If it has worked in the past, it's probably an unintended side effect. If you can't refac

ActionContext.getContext() is returning null

2009-12-09 Thread strutsdev43
Hi Can someone please help with the issue that I am seeing with Struts 2.1.8.1. I have a page index.jsp which is protected by role "role1". when the user tries to access index.jsp, if the user is not authorized, the user is forwarded to a FatalErrorServlet. I have configured in web.xml to for