Re: Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-05 Thread Keith67
Yes, thought had occurred... It wouldn't need to be DefaultServlet even as I can control the URL for which these files would be accessed. It was the thought of cut and pasting all the MIME types to get them to work that was putting me off! Thanks, Keith. -- View this message in context: http

Re: Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-05 Thread Keith67
A1 > > Keith, > > On 7/4/2009 7:17 PM, Keith67 wrote: >> I have an application I would like to allow users to upload files >> through, >> and then I want to be able to link to them and serve them from the >> server. >> >> If I do this, I run the risk o

Tomcat for serving only static files - how to prevent the likes of JSP execution

2009-07-04 Thread Keith67
This might seem like a strange request, but I would like to use Tomcat to only serve static files, from a certain context anyway. I have an application I would like to allow users to upload files through, and then I want to be able to link to them and serve them from the server. If I do this, I