Re: Passing an image to jsp
Saturday, December 7, 2002 06:07 PM
You're trying to serve the image up through the filesystem rather than HTTP, right?
I just fought with this same issue for a small demo app and found it better to simply write a servlet to serve the files up.
Try opening the file through both browsers directly and looking at the difference in the URL's shown and that will show you why it doesn't work. Frustrating... but serving from the local filesystem isn't really scalable or very useful for anything more than an example.