Thanks again


On 8/10/04 7:52 PM, "Aris Javier" <[EMAIL PROTECTED]> wrote:

> that's me! =)
> it's nice to be of service...
> 
> welcome!
> 
> aris
> 
> -----Original Message-----
> From: Dov Rosenberg [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 11, 2004 1:23 AM
> To: Tomcat Users List
> Subject: SOLVED: How to get the context path for a web application?
> 
> 
> Someone on the list suggested Request.getContextPath() and it works like
> a charm. Thanks to all.
> 
> 
> 
> On 8/10/04 1:06 PM, "David Wall" <[EMAIL PROTECTED]> wrote:
> 
>>> A ServletConfig reference is passed in the call to the init() method
>>> of
>> your
>>> servlet. From this you may use the getServletContext() method to get
>>> the context. One thing to remember is that this does not get called
>>> until the servlet is initialized and would be invalidated when it is
>>> destroyed. I
>> suggest
>>> you check the API docs for more information.
>> 
>> But do any of those return the context path?  I didn't see it anywhere
> 
>> in the javadocs.
>> 
>> David
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 

-- 
Dov Rosenberg
Conviveon Corporation
370 Centerpointe Circle, suite 1178
Altamonte Springs, FL 32701
http://www.conviveon.com
[EMAIL PROTECTED]
AOL IM: dovrosenberg
(407) 339-1177 x102
(407) 339-6704 (fax)
(800) 475-9890
(407) 310-8316 (cell)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to