Hi all,
What would be the preferred way to combine the use of
Struts Actions and regular
Servlets inside a web application?
The situation is that I have a bunch of Struts Actions handling most of the web app but there's one Action I'd like to be doing something along these lines:
1) verify some user privileges (using a method in my abstract "BaseAction" class)
2) forward the request/response to a Servlet
Obviously I could just use RequestDispatcher#forward(request, response) but what should the Action's execute() method then return instead of an ActionForward instance as I usually do?