Re: Dynamic Image from DB to JSP

2003-11-12 Thread Marc AMIR-TAHMASSEB
only remove the temp files you made for the less frequently used ones. Regards, David -Original Message- From: Marc AMIR-TAHMASSEB [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 9:59 AM To: Struts Users Mailing List Subject: Re: Dynamic Image from DB to JSP Dear Hubert and David, t

RE: Dynamic Image from DB to JSP

2003-11-12 Thread David Friedman
2003 9:59 AM To: Struts Users Mailing List Subject: Re: Dynamic Image from DB to JSP Dear Hubert and David, thanks for your help. Finaly i did like this : in my jsp a create a image tag as : loadImage.do create first a Java Temporary File (File.createTempFile) containing the bytes of the

Re: Dynamic Image from DB to JSP

2003-11-12 Thread Marc AMIR-TAHMASSEB
Dear Hubert and David, thanks for your help. Finaly i did like this : in my jsp a create a image tag as : loadImage.do create first a Java Temporary File (File.createTempFile) containing the bytes of the image comming from the DB. Then it generates a "document" with the approp

RE: Dynamic Image from DB to JSP

2003-11-06 Thread Hubert Rabago
; From: Marc AMIR-TAHMASSEB [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 06, 2003 11:50 AM > To: Struts Users Mailing List > Subject: Dynamic Image from DB to JSP > > > Hi, > > I have an image in my Database and I want to display it. > Before creating the jsp, I a

RE: Dynamic Image from DB to JSP

2003-11-06 Thread David Friedman
advertising program, almost. :) If something else works for you, please let me know as this is type of image display is on my to-do list. Regards, David -Original Message- From: Marc AMIR-TAHMASSEB [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 11:50 AM To: Struts Users Maili

Re: Dynamic Image from DB to JSP

2003-11-06 Thread Hubert Rabago
When the browser encounters the tag, it sends another request for the "some.ext" resource. You have to serve this through another servlet or action. --- Marc AMIR-TAHMASSEB <[EMAIL PROTECTED]> wrote: > Hi, > > I have an image in my Database and I want to display it. > Before creating the jsp, I

Dynamic Image from DB to JSP

2003-11-06 Thread Marc AMIR-TAHMASSEB
Hi, I have an image in my Database and I want to display it. Before creating the jsp, I ask the image from the DB and put it in my modele (like a InputStream property named photo in an Employe class) In my JSP i want to display this image (so the property) Is it possible to give a "binary" direct