-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dennis,
On 10/15/2009 11:15 AM, Dennis Christopher wrote: > My application is a context element '/myapp' accessed via <server > address>/myapp. > > Within the app's jsps are references to files in a folder 'myapp-web' > whose real location on the server file system > is outside the tomcat tree. So, the URLs for these resources are something like http://host/myapp-web/path/to/file? Are they all rooted in the same place? If so, you can basically create a dummy webapp that contains nothing but your files, served out of the location of your choice. Create a file under CATALINA_BASE/conf/[service]/[host]/myapp-web.xml that contains the following: <Context appBase="/library/webserver/documents" /> This will deploy a new web application (into /myapp-web) that serves static documents from /library/webserver/documents. This is the equivalent of Apache httpd's: Alias /myapp-web /library/webserver/documents It probably seems a little heavy-handed, but it's because app servers are app-centric, not file/directory centric. Hope that helps, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrXPw0ACgkQ9CaO5/Lv0PCE4wCfcZdrk0+0iolmGauFLZDiT5TX xdAAnA6+SyfnqfYirdcIaMWYy8Hrm12s =c97v -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org