CHARLESCHU
asked on
How to retreive PDF from BLOB and open the PDF in Java Struts application
PDF saved in Oracle BLOB data type. How do I retrieve it and open new window to dispaly the PDF under the Struts Java applicatin. And how to update/re-save a new PDF to that BLOB.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You don't want to be reading into memory any longer than necessary, so that's a poor solution
http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html#getBinaryStream(int)
is what you need