This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

PDF file serving  RSS feed

 
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
Boost this thread!