Is it possible to serve images directly using a VelocityServlet? or have a VelocityServlet not parse a file and return it as-is?
I have images sitting on my server that should not be reached thru http directly. So I am looking to be able to serve them dynamically, so that the tag <img src='/image?id=10'/> makes the servlet to look up the referenced image and return it to the client. Is this possible? I am overriding handleRequest() in a VelocityServlet, but if I try to return a binary image file I get a ParseErrorException . What I am trying to avoid is having a second Servlet that is just for serving images. Thanks, Ivo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]