Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Question about getRequestDispatcher(..).include(..) from one web-app to another in the same Jetty instance

Can Jetty allow one webapp to forward/include to handlers on an adjacent webapp in the same container?

The normal way of doing that would be like so:

request.getServletContext().getContext("/other").getRequestDispatcher("/anything").include(request, response);

Subject to policy/config the getContext("/other") would throw an exception, return null, or return a correct instance (as hoped for).

- Paul

Back to the top