Re: VelocityResponseWriter: Image References

2010-02-17 Thread Erik Hatcher
Unfortunately the file request handler does not support bindary file types (yet). Lance's suggestion of hosting static content in another servlet container context is the best solution for now. Erik On Feb 15, 2010, at 8:47 AM, Chantal Ackermann wrote: Hi all, Google didn't come

Re: VelocityResponseWriter: Image References

2010-02-16 Thread Lance Norskog
You can add a static content container to the jetty example. This is a patch against example/etc/jetty.xml. You then make a directory example/webapp/ROOT. This works the same as ROOT in tomcat: http://localhost:8983/image.png comes from webapp/ROOT/image.png. It is static and the files are not cop

VelocityResponseWriter: Image References

2010-02-15 Thread Chantal Ackermann
Hi all, Google didn't come up with any helpful hits, so I'm wondering whether this is either too simple for me to grok, or I've got some obvious mistake in my code. Problem: Images that I want to load in the velocity templates (including those referenced in CSS/JS files) for the VelocityRespon