Howdy Ranchers. I have a simple
servlet that produces a jpg based on posted data. If I simply return the image it always works. However, if I create the file on the server filesystem, and forward to a view that links to it, sometimes the image file is corrupt. If I reload a few times, I'll get a good version, and reloading again might produce a corrupt one. I'm wondering if one of you might notice something obvious in my code that might explain the inconsistent result, or have any other idea about why this is happening.
Thanks!
Mike
The result
jsp: