tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Apache/Tomcat sending default image
Date Fri, 26 Oct 2001 13:49:42 GMT
Is there anyway for Apache/Tomcat to send a default image to the user if
the image they are requesting doesn't exist to prevent a broken image?  I
have a JSP/Servlet site that collects and dynamically displays images based
on user response. Sometimes the image requested just isn't there.

I could have the JSP go look in the file system everytime to make sure it
was there (pretty easy) but that could take time since there could be tens
of thousands of images.

Is this possible?

Jason E. Brawner

View raw message