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.
Hi guys I have to show a file to the client using the browser, I have the file contents stored in my Blob Field in the Database. Now I want to display the file on clilck of a button called DOWNLOAD and then determine the type of file, correspondingly setting the contentType and setHeader of response object. How can i do that??? Please help me at ur earliest... Thanx
Your "Download" button will have to create a request to a servlet - not a JSP - because JSP are designed only to serve characters. This kind of question comes up all the time - browsing around in the servlet and JSP forums or doing a search will get you lots of hits. Or you could even buy a book. Bill