This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm using ServletExec to process my Servlets/JSPs and am having problems using the following code to forward a request on: RequestDispatcher dispatcher = request.getRequestDispatcher(address); dispatcher.forward(request, response); If I put the servlet class in the default servlets directory it works no problem, however if I configure a Web Application and put the servlet class in the WEB-INF\classes directory it throws a NullPointerException as the getRequestDispatcher method returns NULL. Any ideas why it works as a 'stand-alone' servlet but not as part of an app?