Ken,

That is what I'd like to do.   Have an image which is rendered in the case
when the defined image cannot be loaded.  the problem I have is that our
database record says that an image should exist, but the
manufacturer/supplier didn't provide it to us... thus I need a way to check
if that image does exist to test that condition.

thanks,
chris

ps - these images are maintained by a second webapp that is on a different
web server all together due to space requirements.  so i have to do testing
via a HTTP request or something i would think, no?

-----Original Message-----
From: Linck, Ken
To: [EMAIL PROTECTED]
Sent: 6/15/2004 2:32 PM
Subject: RE: Rendering Images

Just curious but why not just manually make this file once and return it
when a real image is not found on disk?  Why bother creating one on the
fly every time?  Is it different from request to request?

We had done something similar.  We created a static image file on disk
and return that when a real one is not available.  I think we used a
struts condition if tag testing if a real one exists otherwise use the
URL to not found image.

-----Original Message-----
From: CRANFORD, CHRIS [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 15, 2004 1:21 PM
To: '[EMAIL PROTECTED]'
Subject: Rendering Images

I'm curious if anyone has used or knows of an open-source image
rendering servlet that permits rendering a "no image found" image file
if the referenced image to be rendered does not exist on disk.

Thanks

_______________________________________________________
Chris Cranford
Programmer/Developer
SETECH Inc. & Companies
6302 Fairview Rd, Suite 201
Charlotte, NC  28210
Phone: (704) 362-9423, Fax: (704) 362-9409, Mobile: (704) 650-1042
Email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to