Hi Georg,

Thanks for your reply. Sorry if I appear a little naïve with regards to my
terminology. I have mainly only had to mess around with IIS's GUI and its
terminology :) 

However, you are right. All I need to be able to do is to map a specific URL
path to a local directory. I think your example will work fine. 

Armed with this new info, I think I should be able to achieve what I want
without using a front end web server and connector. I will go and play and
see what I can discover :)

Thanks again.

Chris 

-----Original Message-----
From: Georg Sauer-Limbach [mailto:[EMAIL PROTECTED] 
Sent: 18 January 2006 00:09
To: Tomcat Users List
Subject: Re: Is the JK Connector the definite one to use as a web connecto
r?

Chris Mooring wrote:
> Thanks for the info. I think unless I can set up virtual directories on
the
> Tomcat HTTP server, I might be forced into using another webserver and
> connector (jk - soon to be jk3 ;)).

What do you mean exactly by "virtual directories"?

If it is something like mapping URL paths to file 
system paths, then you can achieve something with 
Tomcat's

<Context path="/urlPath" docBase="C:/web/files/a" 
... >

element in server.xml, which maps the virtual 
(URL) 'path' to the physical docBase directory.
Note that 'path' is not limited to one directory
part, ie /urlPath/plus/more is also possible.

Furthermore, inside the web.xml deployment
descriptors you can specify which servlet/JSP is 
invoked for a certain URL pattern. See
<servlet-mapping> element.

Regards,
Georg

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


Connaught honoured AIM 'Decade of Excellence' Award 

Connaught awarded Partnering Contractor of the Year 2005 

Connaught wins AIM 'Company of the Year' award 2004 

West of England Business of the Year Award Winner 2003 

Why not visit our website http://www.connaught.plc.uk 

Disclaimer: 
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.  If you received
this in error, please contact the sender and delete this message. 

Connaught plc, Head Office 01392 444546 

The presence of this footer indicates that this message has been scanned for
viruses by Network Associates Group Shield

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

Reply via email to