Upload pdf file to mysql database
posted 4 years ago
PDFs are binary data, so you'd use a BLOB field. Having to do with I/O and DB operations, you wouldn't do this in a JSP, but in a servlet. A package like Apache Commons FileUpload makes the file upload part quite easy.