You cannot do this at web.xml. However, you can create a new servlet, which in turn redirects / redirects the request to the servlet of another web application. Redirecting is easy, just provide the URL to a specific servlet.
response.sendRedirect("/otherwebapp/theservlet");
. - . servletcontainer, -. , , Tomcat, , servletcontainer: - crossContext <Context> true:
<Context crossContext="true">
ServletContext#getContext() :
ServletContext othercontext = getServletContext().getContext("/otherwebapp");
, :
othercontext.getRequestDispatcher("/theservlet").forward(request, response);