1. the path attribute of your context definition will be ignored by tomcat 5.5. The webapp itself will be deployed as RMS, not images.
2. Assuming you have an images folder in your RMS webapp and a file named logo.gif exists there, the url http://localhost:8080/RMS/images/logo.gif should work. Check the logs if it's not working. 3. Please don't hijack threads. Join the list and send a NEW message to [EMAIL PROTECTED] Replying to a message and changing the subject isn't enough. --David Jennifer Lu wrote: > 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 > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]