Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Displaying Generated Image on Jsp

Govind Kotwani

2004-12-17


Hi,

We have web J2EE web based application which is deployed on weblogic
8.1(on Unix) as an ear.
This EAR contains some EJB's some jar files and a war file.

Now we want to display an image on the jsp after retreiving it from the
database.Image is stored in the database as a BLOB object.
Currently what is implemented is e.g as soon as user selects a product an
image file (.jpg) is generated from the BLOB
object (at some predefined location say C:\ImageFolder) and in jsp(HTML)
we display this image with with giving this path in
IMG src tag.

Is there any way where we can get rid of this absolute path(hard coded)
path and generate the image at a relative path and display
from there in our jsp or is there any other wat to achieve it.


Thanks
Govind

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.  If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.  If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you

===========================================================================
To unsubscribe: mailto listserv@(protected)".
For digest: mailto listserv@(protected)".

Some relevant archives, FAQs and Forums on JSPs can be found at:

http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
http://forums.java.sun.com
http://www.jspinsider.com
©2008 junlu.com - Jax Systems, LLC, U.S.A.