hello guys, can anyone kindly tell me how can i display an image fetched
from a database using the img tag? thanks in advance.
--
`*The early bird catches the worm, but the second mouse gets
Stream it to the ServletOutputStream and return null from the action.
(*Chris*)
On May 16, 2011 8:48 AM, Saeed Najahi najah...@gmail.com wrote:
hello guys, can anyone kindly tell me how can i display an image fetched
from a database using the img tag? thanks in advance
Najahi [mailto:najah...@gmail.com]
Sent: Monday, May 16, 2011 7:48 PM
To: user@struts.apache.org
Subject: Displaying images from database (BLOB) using the img tag
hello guys, can anyone kindly tell me how can i display an image fetched
from a database using the img tag? thanks in advance
) using the img tag
hello guys, can anyone kindly tell me how can i display an image fetched
from a database using the img tag? thanks in advance.
--
`*The early bird catches the worm
to retrieve the local image to the page
I'm still not clear what /imageview is supposed to do/return, or what
the URL in the generated img tag is meant to look like. What do you
expect to see in your browser if you access the following URLs directly:
1. http://host:port/context/imageview
2. http
-servlet-from-portlet-using-img-tag-tp19883653p19883653.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
=imgURL value=/imageview/
img src=${imgURL} alt=img width=40, height=40/ T H I S F A
I L S
I get the following exception:
[...]
Have you looked at the generated HTML? What's the URL in the img tag?
Maybe s:url is prepending something to the URL that shouldn't be there
for this use case
image to the page
--
View this message in context:
http://www.nabble.com/Cannot-call-servlet-from-portlet-using-img-tag-tp19883653p19890900.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e
Is there a struts2 non-OGNL equivalent to the old html:img taglib?
Or do I have to use c:url with pure HTML?
c:url var=folder_shut value=/images/folder_shut.png/
img src=${folder_shut} alt=alt text/
-
To unsubscribe, e-mail:
/folder_shut.png/
${folder_shut}
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/img-tag--tf4511975.html
And the resulting HTML is like this:
tda href=/;jsessionid=XXXimg
src=/images/logo.gif
height=111 width=326 border=0 hspace=0 vspace=0
alt=XX/a/td
Why the ; in the jessionid, instead of ?
And why is there no / at the end of the img tag, which is
inconsistent with the rest of the XHTML markup
identifier be a path parameter
rather than a query parameter. In the syntax of a URL, you can actually
add path parameters after any element of the path (
http://localhost:8080/foo;bar=baz/bop), but the session id goes on the last
one.
And why is there no / at the end of the img tag, which
. You cannot read it
from Request object as a query parameter or as a mere substring of a
whole URL (this, it is not considered as a part of URL).
And why is there no / at the end of the img tag, which is
inconsistent with the rest of the XHTML markup.
Try wrapping your JSP page into html:html
Hi!
I have been using the Struts img tag instead of the HTML img tag just cause
I was trying to use and learn the Struts tags, e.g. html:img
page=/grafx/logo.jpg width=150 height=140 alt= /. But, now that I
have tried deploying, I find it doesn't work for me. Apparently, it adds the
jessionid
e-denton Java Programmer wrote:
Hi!
I have been using the Struts img tag instead of the HTML img tag just cause
I was trying to use and learn the Struts tags, e.g. html:img
page=/grafx/logo.jpg width=150 height=140 alt= /. But, now that I
have tried deploying, I find it doesn't work for me
URLrewrite has similar functionality to mod_write if you're in a pure
java environment or deploy to some grot like IIS.
http://tuckey.org/urlrewrite
Mark
On 26 Oct 2004, at 19:55, Matt Bathje wrote:
e-denton Java Programmer wrote:
Hi!
I have been using the Struts img tag instead of the HTML img
16 matches
Mail list logo