I call this servlet multiple times in image tags in html that is generated from another servlet. The concept works and I don't get any errors, but for some reason my images don't load correctly lots of the time. If I just look at the servlet that generates an image one at a time, there are no issues. I am displaying them in an html table with a specified height width if that could be causing any of my problem. This is an example of my error. Images 1, 2, and 3 are missing parts of the image and have white bars in them.
Any ideas on what could be causing this?
EDIT- I removed the width/height specifications in HTML and it doesn't do it anymore. Any idea why? Any idea how I can get it to work? I want the image to be displayed smaller, but want to get the actual resolution with a right click save as.