Kbase P75043: How can I make Tomcat to look for images in a specific directory?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  4/5/2004 |
|
Status: Unverified
GOAL:
How can I make Tomcat to look for images in a specific directory?
FACT(s) (Environment):
Progress 9.1D
FIX:
Within your Tomcat configuration file server.xml located within
your <Tomcat install dir>/conf directory you need to add the context path for where the images can be found:
Example:
<Context path="/images" docBase="/../../../Pro91D/src/sports2000/images" debug="0"/>
lets me find the image
http://mypc:8080/images/horsedem.gif
Within the example image is the alias defined and /../../../Pro91D/src/sports2000/images
is the path to the sports2000/images directory of my Progress 9.1D installation.