Hi All
Iam storing pdf files in DB.IAm retrieving the files and display to user as PDF
files.how to proceed further??
Thanks
String getpdfstr = "select blobtest from test where num = ?";
PreparedStatement pstmt = con.prepareStatement(getpdfstr);
//File f = new File("abcd123.pdf");
int num = 90;
pstmt.setInt(1,num);
ResultSet rs = pstmt.executeQuery();
Blob b = null;
while(rs.next()){
//request.setAttribute("getparam",rs.getBlob(1));
b = rs.getBlob(1);
}
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html