Hi, Thanks for the guide it's excellent. I just have some questions. I have a pdf stored in blob in mysql i know it is stored cause it has the same size as the file. Now when i am trying to retrieve it using the servlet. I get the output of "Image Display Error= null". Somehow I think it is because of the int length = (int) image.length(). Pls help