This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
have a very interesting problem. i have a servlet which is meant to download a PDF doco stored in an oracle database as a BLOB and display it in the users browser. The PDF is 900 pages long but in the browser it only displays 200 pages. Have tried it IE v 7 and FireFox v 3.6.8 what could be causing this ??
Have you confirmed that "cacheImpl.getPDF(ID)" actually returns the entire PDF document? 900 pages of PDF sounds like a lot of bytes to me, if I were writing the code I wouldn't load the entire document into memory. I would stream it from... wherever it's coming from... to the servlet's output stream. You may be running out of memory.