Getting the Context Path without an HttpServletRequest object
843840Jul 30 2002 — edited May 29 2008Hello, thankx in advance for your support !
I'd like to set automatically a constant with the context path upon server initialization, so that other servlet developers can invoke a method and get this constant value when needed.
�Is there any way to obtain the context path from the Servlet Context? Getting it from a request is useless for me.