Good Morning Roland 

in your server.xml

<Context path="/RolandApp" docBase="webapps/RolandApp" debug="0" 
reloadable="true"
</Context>

would map "RolandApp" to your virtual folder  accessed by
http://localhost:8080/RolandApp

HTH
Martin-

----- Original Message ----- 
From: "Roland Rabben" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, November 29, 2005 7:36 AM
Subject: SV: Virtual folders in Tomcat



Can you please give me an example of how this xml file would look?

Roland
 
> Create a new Context declaration (in a new xml file under the webapps
> folder
> of your tomcat installation) that points you there.
> 
> -Tim
> 
> Roland Rabben wrote:
> 
> > Hi,
> > I want to map a "virtual" folder to my Web application. How can I
set up
> > my system so I can have a "data" folder on a different disk than the
web
> > application folder under Tomcat.
> >
> > Let's say I install Tomcat and My Web App under
> > c:\tomcat\webapps\my_web_app\
> > This would translate to http://myserver.com/my_web_app/
> >
> > Let's say my "data" folder is on d:\data\
> >
> > How can I create a mapping that translates to:
> > http://myserver.com/my_web_app/data/
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to