Hi Panos

I have the following line in my server.xml (inside the host tag) to map my
images for jsp pages. It might do what u want

<Context path="/images"  docBase="C:\images"/>

hope it helps
Donie


-----Original Message-----
From: Panos Konstantinidis [mailto:girionis@;yahoo.com]
Sent: 06 November 2002 12:58
To: [EMAIL PROTECTED]
Subject: mapping URLs

  Hello, this is the second time I am asking this
message and hopefully someone can help me this time.

  I am migrating from Resin to Tomcat 4.1 for Windows
NT with JDK1.3. We have a bunch of include files and
images in a shared folder that all web application
share using Resin. This folder resides on
c:\include\content. I have configured the
corresponding Resin's web.xml file, whenever the
pattern "/content" is encounter to look into the
c:\include\content folder. So whenever in the jsp
files Resin sees the "/content/myInclude.inc" url
pattern it is looking at the
c:\include\content\myInclude.inc fodler.

  Is there something similar I can do with Tomcat? If
Tomcat encounters the "/content" then it will look on
the root folder of the specific application, which I
do not want.

  I have look through the web.xml documentation and
have only found URL-mapping for Servlets.

  I'd really appreciate any help given.

  Thank you.

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to