aspose file tools*
The moose likes Servlets and the fly likes Printing a Servlet Generated Image in IE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Printing a Servlet Generated Image in IE" Watch "Printing a Servlet Generated Image in IE" New topic
Author

Printing a Servlet Generated Image in IE

Calvin Robol
Greenhorn

Joined: Feb 01, 2002
Posts: 3
Wondering if anyone has come across this problem. I am sending an image to a browser via a Servlet that retrieves the image from another server. The image displays in the browser just fine, however when I try to print the image, it will not print in IE. It will print in netscape however. I checked the content type, the content length, and all the http headers sent to the browser, and they are all correct. One thing that does happen, is if I try to save the image, IE wants to save it as a bitmap, and the size of the image is larger than the content length returned. If anyone has any suggestions, Id love to hear them.
Thanks,
Calvin
 
Consider Paul's rocket mass heater.
 
subject: Printing a Servlet Generated Image in IE