I need to pass a PDF file to a servlet which I will create. The PDFs are storeed in a database, so I cant just read from disk. I will need to pass it as an attribute or something. What is the best way of doing this?
Am I right in thinking I cant keep it in a file object becuase a File object is just a pointer to a file on a disk?