In your server.xml:

<Context path="/myVirtualDirectory" docBase="/some/path/to/content"
debug="0" privileged="true" /> 

where "path" is the URL path and "docBase" is the physical location.  This
should work for static content and JSPs...servlet mappings are handled in
web.xml.

John Turner
[EMAIL PROTECTED]

-----Original Message-----
From: James Lavoie [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 12:36 PM
To: [EMAIL PROTECTED]
Subject: virtual directory


Can anyone tell me how to create a virtual directory in Tomcat? Not sure
what the term is, but it is called a virtual directory in Microsoft IIS. Its
basically a "handle" within the url to a folder within the file system that
may or may not have the same name as the handle.

Any help is appreciated
Thanks,
Jay

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

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

Reply via email to