determining resource MIME type via metadata sidecars

2019-05-04 Thread Garret Wilson
Let's say that I want to use embedded Tomcat to serve static content using `org.apache.catalina.servlets.DefaultServlet`. But rather than determining each resource's MIME type from the server's fixed list of MIME types, I want to determine each resource's MIME type dynamically based upon some

Re: no temp directory creation wanted when embedding Tomcat

2019-05-04 Thread Garret Wilson
On 4/24/2019 12:01 AM, Mark Thomas wrote: If you don't want the baggage associated with a Servlet container it might be worth looking at what other solutions are available. Thanks for being forthright here, Mark. (Mark Wood also suggested the same thing separately.) Indeed I have used