Is there a way to define alias for a Servlet context?
If I want that
http://server/a/foo-servletandhttp://server/b/foo-servletpoint to the same Servlet (orhttp://server/a/foo.jspandhttp://server/b/foo.jspfor that matter)- calling
HttpServletRequest#getContextPath()in the foo Servlet (orfoo.jsp) returns/aor/brespectively
my only option seems to be to deploy the web application containing the foo Servlet twice. Correct?
If I define two contexts a and b both pointing to the same doc base the container would essentially still deploy two individual applications.