Hi All,

I'm trying to make a simple StreamingResolution method in my bean to display
fast web view PDFs static files (linearized) but it's not working.
Pdfs files are downloaded entirely before being displayed ...
Deployed under Tomcat 6.0.26 (which support bytes serving),
the StreamingResolution method is omiting the "accept-range: bytes" header
field in the http response!

My code :
return new StreamingResolution("application/pdf", new
FileInputStream(pdfFilename)).setRangeSupport(true).setLength(pdfFileLength);



PS :
- Tomcat seems to be not the cause : html static files are correctly
 displayed using "accept-range" field.
- Pdfs are well served using Apache or Ngnix.
- version of Stripes is 1.5.6

What could be the problem?
Any idea?

Thanks !

-- 
Cordialement, Laurent
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to