Discussions

Web tier: servlets, JSP, Web frameworks: Do forwards go through filters in Servlet 2.3?

  1. If i forward from one servlet to another and have a Servlet filter configured to trap both th url's. Does the forward call get routed through the filter?
  2. If i forward from one servlet to another and have a Servlet filter configured to trap both th url's. Does the forward call get routed through the filter?
    No. Filter are only applied to the URL from the client in Servlet 2.3. This changed in Servlet 2.4.