Hi,

Does Tomcat 5.5 or maybe 6.0 use java.nio/sendfile() to send static content?
So is it more prefered to use RequestDispatcher.forward(myfile) than copy a 
FileInputStream to ServletOutputStream by hand?
I already have the copying part, but would like to know if it is worth the 
trouble to rewrite it to the dispatcher. I would have to shuffle quite some 
files, so the rewrite isn't like a couple of minutes work. ;-)

Ronald.

Reply via email to