Re: Accessing the context path within a Servlet/JSP
See HttpServletRequest.getContextPath() J Malcolm wrote: I have looked at the JavaDocs, but I can't find a method that will give me the context path for a web app: (i.e. I have tried getPath() from the servletContext, but it returns part of the host name as well. That doesn't make sense either, b
Accessing the context path within a Servlet/JSP
I have looked at the JavaDocs, but I can't find a method that will give me the context path for a web app: (i.e.