Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PDF file serving

 
willie blue
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to be able to serve a PDF catalog a page at a time. Right now the application sends the whole catalog to the client. I think I should be able to use servlets to accomplish this and improve the performance. Any ideas?
Thanks
 
Danny Mui
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The servlet only knows how to stream data to the client. As far as I know, I don't think there is a .PDF API to disseminate a .PDF file through Java (i.e. send a particular page..).
So one way is to create a separate .PDF for each page and send out the correct file/page (ew!).
sorry if i don't have a clue but would like to know if there is a solution for your problem. you can never have enough tricks in the bag hehe.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic