[jboss-user] [Beginners Corner] - Re: Problem serving large PDFs

jw_brown_au@yahoo.com.au do-not-reply at jboss.com
Thu Oct 16 22:08:19 EDT 2008


Found the solution.

     if (requestUri != null && requestUri.endsWith("pdf")) {
  |          response.setHeader("Accept-Ranges", "bytes");
  |      }

In a filter for PDFs or your security filter.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182811#4182811

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182811



More information about the jboss-user mailing list