Hi Absolutely perfect, this works,thx
>> Yes, just set up a sub-context. Something like a file called: $CATALINA_BASE/Catalina/localhost/XYZAPPS#images.xml with content: <Context docBase="/root/images" /> Question: Can this configuration be done from within 'XYZAPPS/META-INF/context.xml' Specific to the application only with regards Karthik -----Original Message----- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 8:35 PM To: Tomcat Users List Subject: RE: external folder be mapped to Tomcat 'specific 'web application' > From: Karthik Nanjangude [mailto:[EMAIL PROTECTED] > Subject: RE: external folder be mapped to Tomcat 'specific > 'web application' > > 1) My external folder which has *images* is on folder "e/STATICIMAGES" I presume there's a colon missing in the above, and all your forward slashes should really be back slashes. (It helps to be precise, so people don't have to guess at what you're really doing.) > 2) TOMCAT6018 is installed on folder "D:/TOMCAT5523" > > Is this possible to map the "STATICIMAGES" to webapps to > serve in browser as > > * http://<IP>:<PORT>/XYZAPPS/STATICIMAGES * Mark T already told you exactly how to do this: Yes, just set up a sub-context. Something like a file called: $CATALINA_BASE/Catalina/localhost/XYZAPPS#images.xml with content: <Context docBase="/root/images" /> For your specific environment, the file containing the <Context> element is: D:\TOMCAT5523\Catalina\localhost\XYZAPPS#STATICIMAGES.xml (assuming you insist on using upper case names; this is case-sensitive, even on Windows). The <Context> element within the above file looks like this: <Context docBase="E:/STATICIMAGES" /> (Yes, that is a forward slash in the above, even on Windows.) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]