Hello,
I have a web application that must get image from blob field stored in
an Oracle DB, but I cannot find "how to" examples.
Here is my sources. Where is the error?
default.jsp
---
struts.xml
--
image/jpeg
img
Please post the error (stack trace?).
I suppose that if you want to "show" the image, you need some
tag in your html page result. tag doesn't generate
tags for you AFAIK.
2008/8/21, Alessio Bandini <[EMAIL PROTECTED]>:
>
> Hello,
>
> I have a web application that must get image from blob field
I'm sorry again.
The mailing list manager does not allow attached files.
But the problem is still the same.
I get the image from DB, but I see binary characters and not the image.
Probably I have to use some special tags but I cannot understand what.
Thanks.
Alessio Bandini wrote:
Thanks,
I'
Your configuration is okay but you have misused the action tag. You
can't embed an inline image within an HTML page.
ie. you've started sending a result, which is from JSP, and then
part-way though you've attempted to output some binary data in the same
output stream.
You do not need spec
Thanks a lot.
It works.
:)
Jeromy Evans wrote:
Your configuration is okay but you have misused the action tag. You
can't embed an inline image within an HTML page.
ie. you've started sending a result, which is from JSP, and then
part-way though you've attempted to output some binary data
5 matches
Mail list logo