It's genally a good idea to use the ROOT context as merely a redirection feature, _especially_ if you've got any possibility of naming conflicts (like you're suggesting). By this, I mean make your ROOT context simply do a redirect (either an HTTP redirect or a JSP/Servlet redirect, depending on what you need to accomplish) to your "real" default web application. It will eliminate problems like this -- naming and implementation/function should be independent.


As for your question, you can't practically get to ROOT/hello in the case you're describing.

justin


At 12:47 PM 7/9/2004, you wrote:
Then what about ROOT/hello ? How do you get to there?

> -----Original Message-----
> From: Mike Curwen [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 8:19 AM
> To: 'Tomcat Users List'
> Subject: RE: will ROOT (/) context, folder "hello" interfere with context
> (hello) ?
>
> You'd get the hello context.
>
> -----Original Message-----
> From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 3:37 AM
> To: 'Tomcat Users List'
> Subject: will ROOT (/) context, folder "hello" interfere with context
> (hello) ?
>
>
>
> Something just popped in my mind.
>
> If you have a ROOT context which has a folder named hello,
>
> And you have a context named hello
>
> When you request localhost:8080/hello/
>
> Which one are you gonna get? The ROOT context or the hello context? I
> will try this out tomorrow, but I wonder how tomcat handles this?
>
>
> _____
>
>
> Best Regards,
>
> Ivan V. Jouikov
> (206) 228-6670
> <http://www.ablogic.net/>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.716 / Virus Database: 472 - Release Date: 05.07.2004



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


______________________________________________
Justin Ruthenbeck
Software Engineer, NextEngine Inc.
justinr - AT - nextengine DOT com
Confidential. See:
http://www.nextengine.com/confidentiality.php
______________________________________________


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



Reply via email to