<td background='resource.CRACKWILLOW?file_type=jpeg&file_name=eclipse_admin_host.jpg'
border='0'
width='95%'
height='100%'
valign='bottom'
align='right'>
This code allow the image to be anywhere in the world. Those issues are decided in the model of the MVC.
At 02:34 PM 6/15/2004, Wendy Smoak wrote:
> From: mike [mailto:[EMAIL PROTECTED] > I deliver all resources with the following code (you have to > fill in some > details). You can easily see where you can test for the > availablitlity of > the image. Anyway, you can always test with, as I said > before the exists() method of the File class.
Except that he said the images live on a different web server, which I took to mean that the file system was not accessible directly, the only way to get to the images is with the URL.
The only thing I'm coming up with is a Servlet that would use the URL to read in the bytes of the image, and either send them as the response, or else read in the 'not found' image and send that.
It just doesn't seem very efficient, and I think it should be pushed off onto the web server rather than the Servlet container. With a million items, I'm guessing this is not running on a single Tomcat instance...
-- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]