Reuse DefaultServlet at runtime from webapp for static resources on disk.

2009-09-08 Thread Robbert-Jan Roos
Hi, We run a website from a ROOT.war file. It also requires some static resources which are in another webapplication (themes) and user uploaded content which is not in source control. Currently we use apache httpd to serve these 2 directories. The user content is mounted from a fileserver, the

Re: Reuse DefaultServlet at runtime from webapp for static resources on disk.

2009-09-08 Thread Mark Thomas
Robbert-Jan Roos wrote: Any ideas on how to go with this? How adventurous are you feeling? Tomcat 7 (not yet released - you'd need to build it from source) has the concept of alias resources that can be defined at the Context level. From the docs: attribute name=alises required=false pThis