You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sumesh <su...@gmail.com> on 2006/02/05 16:47:55 UTC
Virtual Directory
Dear friends,
How can I create a Virtual Directory in Apache Tomcat? I have
installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I
have some Tutorials in "E:\Tutorial" .I want to publish the same using
the same Web Server.How can I do that
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Tomcat Virtual Directory
Posted by Jason Abreu <co...@yahoo.com>.
I wrote a search application that returns database records, and based upon the key field in database, retrieve a picture from a separate picture repository on the server.
My question is how can i set up my webapp to access my repository?
Info:
IDE- Netbeans 4.1
version- Tomcat 5.5.9
webapp path- c:\apache\tomcat\webapp\[application name]
repository path- c:\pictures
---------------------------------
Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
RE: Virtual Directory
Posted by Tim Lucia <ti...@yahoo.com>.
Sorry, I did not read the version. Try this:
http://tomcat.apache.org/tomcat-4.1-doc/appdev/deployment.html
(Basically, I believe you need to add a <context docBase="E:/Tutorial"
path="tutorial".../> to server.xml
Tim
-----Original Message-----
From: sumesh [mailto:sumesh.akshaya@gmail.com]
Sent: Wednesday, February 08, 2006 10:40 AM
To: Tomcat Users List
Subject: Re: Virtual Directory
Tim Lucia wrote:
>Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat
>4.1\webapps\ directory. It should contain at least the following:
>
><context docBase="E:\Tutorial"...>
>
>Please read here:
>
>http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html
>
>
>-----Original Message-----
>From: sumesh [mailto:sumesh.akshaya@gmail.com]
>Sent: Sunday, February 05, 2006 10:48 AM
>To: Tomcat Users List
>Subject: Virtual Directory
>
>
>Dear friends,
> How can I create a Virtual Directory in Apache Tomcat? I have
>installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I
>have some Tutorials in "E:\Tutorial" .I want to publish the same using
>the same Web Server.How can I do that
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
when I created the Tutorial.xml file I get some error while starting tomcat
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Virtual Directory
Posted by sumesh <su...@gmail.com>.
Tim Lucia wrote:
>Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat
>4.1\webapps\ directory. It should contain at least the following:
>
><context docBase="E:\Tutorial"...>
>
>Please read here:
>
>http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html
>
>
>-----Original Message-----
>From: sumesh [mailto:sumesh.akshaya@gmail.com]
>Sent: Sunday, February 05, 2006 10:48 AM
>To: Tomcat Users List
>Subject: Virtual Directory
>
>
>Dear friends,
> How can I create a Virtual Directory in Apache Tomcat? I have
>installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I
>have some Tutorials in "E:\Tutorial" .I want to publish the same using
>the same Web Server.How can I do that
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>
when I created the Tutorial.xml file I get some error while starting tomcat
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Virtual Directory
Posted by Tim Lucia <ti...@yahoo.com>.
Add a file, Tutorial.xml, to your C:\Program Files\Apache Group\Tomcat
4.1\webapps\ directory. It should contain at least the following:
<context docBase="E:\Tutorial"...>
Please read here:
http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html
-----Original Message-----
From: sumesh [mailto:sumesh.akshaya@gmail.com]
Sent: Sunday, February 05, 2006 10:48 AM
To: Tomcat Users List
Subject: Virtual Directory
Dear friends,
How can I create a Virtual Directory in Apache Tomcat? I have
installed tomcat in "C:\Program Files\Apache Group\Tomcat 4.1" and I
have some Tutorials in "E:\Tutorial" .I want to publish the same using
the same Web Server.How can I do that
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org