Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: RE: tomcat folder mapping


Message #1 by Chanoch Wiggers <ChanochW@w...> on Mon, 2 Jul 2001 18:54:05 +0100
I think you add the following text in servet.xml file that can be found in
the conf directory where you installed tomcat

        <Context path="/appname" 
                 docBase="c:\myapps\appname" 
                 crossContext="true"
                 debug="0" 
                 reloadable="true" 
                 trusted="false" > 
        </Context>

path is the application's name. So if your server is called myserver you
would ask for the specific application using http://myserver/appname in the
example above. docBase is where the application folder is. That folder
should have a WEB-INF sub directory as per the spec for web apps

if you check server.xml you should find examples of the context mapping for
the pre installed applications such as the admin application and the
examples application

chanoch

-----Original Message-----
From: vikram mishra [mailto:vikram@o...]
Sent: 12 June 2001 13:10
To: Java Server
Subject: [pro_java_server] tomcat folder mapping


Dear friends,
I have install a servlet outside of tomcat server and i want to run that 
servlet from of tomcat server so i want to mapping that outside folder 
from of tomcat server.I have read whol of the document but i couldn't done 
that mapping  and i got the restriction to do not configure that tomcat 
with another server.I need help very urgently.
Thanks in advance.
With Regards
vikram Mishra(vikram@o...)

  Return to Index