Get context path in tc 5.5

2010-03-29 Thread David kerber
In TC 5.5.28, Java 5, how can I find the context path that was called, so I can log it? I have an app that is started under two different contexts, one with the name of the .war file, and another one which is just an alias of the main one. I'm trying to log some events in a

RE: Get context path in tc 5.5

2010-03-29 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Get context path in tc 5.5 In TC 5.5.28, Java 5, how can I find the context path that was called, so I can log it? HttpServletRequest.getContextPath() - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

Re: Get context path in tc 5.5

2010-03-29 Thread David kerber
On 3/29/2010 12:05 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Get context path in tc 5.5 In TC 5.5.28, Java 5, how can I find the context path that was called, so I can log it? HttpServletRequest.getContextPath() - Chuck Thanks

Re: Get context path in tc 5.5

2010-03-29 Thread Hassan Schroeder
On Mon, Mar 29, 2010 at 9:22 AM, David kerber dcker...@verizon.net wrote: HttpServletRequest.getContextPath()  - Chuck Thanks; that will work once they get into my app's functionality.  Is there anything I can use to get the context path when they first connect When they first connect it's

RE: Get context path in tc 5.5

2010-03-29 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Get context path in tc 5.5 Is there anything I can use to get the context path when they first connect Move to Tomcat 6, so you can use the 2.5 servlet APIs. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL

Re: Get context path in tc 5.5

2010-03-29 Thread David kerber
On 3/29/2010 12:22 PM, David kerber wrote: On 3/29/2010 12:05 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Get context path in tc 5.5 In TC 5.5.28, Java 5, how can I find the context path that was called, so I can log

Re: Get context path in tc 5.5

2010-03-29 Thread David kerber
On 3/29/2010 12:58 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Get context path in tc 5.5 Is there anything I can use to get the context path when they first connect Move to Tomcat 6, so you can use the 2.5 servlet APIs. I'm working toward

Re: Get context path in tc 5.5

2010-03-29 Thread David kerber
On 3/29/2010 12:55 PM, Hassan Schroeder wrote: On Mon, Mar 29, 2010 at 9:22 AM, David kerberdcker...@verizon.net wrote: HttpServletRequest.getContextPath() - Chuck Thanks; that will work once they get into my app's functionality. Is there anything I can use to get the context path when