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.
I have a gif file in image directory under webapps/myapp/. The following code should print that gif file and does not. I played around with all combination of ptah to gif like ., ../.. etc nothing seems to work, however the message does print fine. Only image is missing. Can I print a gif file in this way from servlet?