> From: JanAa [mailto:jan.aage...@norse-solutions.com] 
> Subject: Re: Multiple context paths for single deployment

> What I want is an alias for the context so that more than 
> one url can be used for the same application and that the
> url used is reflected in HttpServletRequest.getContextPath(). 

Those are conflicting requirements.  Pick one or the other - you can't have 
both.

(Actually, you can, but it would be a major pain.  If you wrote a filter that 
wrapped every HttpServletRequest object and implemented your own 
getContextPath() method, you could choose to return whatever you want for the 
result.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to