Dear all,

I need to define a virtual mapping path on Tomcat 5.5. The following works
well on Tomcat 5.0.28 (I put it in the server.xml)

<Context path="/images" docBase="E:/templates/images" debug="0"
reloadable="true"></Context>

The webapp is called RMS and its classes directory has been installed on C:.

http://localhost:8080/RMS/images/logo.gif    this url works well on Tomcat
5.0.28 but causes a HTTP404error on Tomcat5.5

I have tried several approaches on Tomcat5.5 but none of them succeeded.

Approach 1. put it in conf/Catalina/localhost/RMS.xml
Approach 2. put it in webapps/RMS/META-INF/context.xml

Any advice on this? Thanks a lot.

Jen

Reply via email to