This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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?