tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dg B" <dbret...@hotmail.com>
Subject Need Help with Establishing Contexts + Paths
Date Wed, 02 Aug 2000 09:49:17 GMT


>Hello all,
>
>   I downloaded Tomcat a couple of weeks back, and am currently having some
>difficulty establishing the contexts for Tomcat in such a way as to have
>them behave nicely with my current directory structure.
>
>Here is what my directory structure looks like:
>
>
>junk   /     java   /    servlets
>
>
>junk   /      foo    /    tomcat   /
>                                       conf
>                                       bin
>
>
>From what I understand, tomcat will assume that the "tomcat" directory 
>above
>is the root directory.  What I would like to be able to do is tell Tomcat 
>to
>do the following:
>
>1)  Associate the path http://my_web_page.com/servlets   to
>junk/java/servlets
>2)  Serve out the servlets from junk/java/servlets.
>
>At the same time, however, I want to maintain the directory structure just
>the way it is.
>
>How do I do this?  I have read the documentation on contexts and what-not,
>but it still seems confusing to me.
>
>Any help you can provide will be greatly appreciated.
>
>Regards,
>   Dennis
>________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message