Hi ppl,

    Would it be possible to subclass the ActionServlet to add behaviour
needed for it to behave as central controller so it could handle all the
requests coming to the web application, not only the action execution
requests ? In the subclassed ActionServlet I want to be able to add some
logic which will determine where the request should be forwarded in case
where isn't any action to be processed by ActionServlet. For example a
request for /example/some_page.do could be forwarded to /some_page.jsp
OR /WEB-INF/jsp/some_page.jsp. I don't want to add mappings in
struts-config.xml for each page I have in the application.

Peter.


Reply via email to