Hi In Tomcat 5.5.17 webapps itself deployed hence put the RMS under webapps and change the docbase
<Context path="/images" docBase="webapps/RMS" debug="0" reloadable="true"></Context> Regards Raju On 11/30/06, olivier nouguier <[EMAIL PROTECTED]> wrote:
hi, A: put apache (httpd) in front of tomcat ==> quite easy. B: dirty read/stream hack ==> don't know what to say :-) On 11/29/06, Jennifer Lu <[EMAIL PROTECTED]> wrote: > > Hi David, > > I think I have joined the list as I have received the confirmation on > this? > Probably this is the first email I sent before the confirmation. Thank you > for your advice on my question. However, the templates/images folder has > to > be outside of the RMS webapp folder in this case so I cannot figure out > how > to do this. I do not have problems in retrieving images from the RMS > webapp folder. Any idea on how to refer to an images folder outside of the > webapp root? > > Thanks. > > Jen > > > On 11/29/06, David Smith <[EMAIL PROTECTED]> wrote: > > > > 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] > > > > > > -- "Souviens-toi qu'au moment de ta naissance tout le monde était dans la joie et toi dans les pleurs. Vis de manière qu'au moment de ta mort, tout le monde soit dans les pleurs et toi dans la joie."