Subject: Re: [off topic?] image retrieving from db
From: "Tea Yu" <[EMAIL PROTECTED]>
 ===
I'm storing blob data into the database and using JImageMagick to return
image of different formats on the fly.  Each time I have to retrieve an
image included in a page (with other text/html contents), I have to call
the retriever Servlet or jsp from the <img> tag.

However, I did not hardcode the table/id info into the Servlet so
everytime I call the servlet I have to pass the table name and at least
(if the former is hardcoded) the image id to the img tag, like

<img src="imageDbServlet?table=product&id=30"/>

Is there any way to hide the query info?  in a session manner or some
other more elegant way in Struts?

Thanks!

Tea Yu



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

Reply via email to