Displaying images from database (BLOB) using the img tag

2011-05-16 Thread Saeed Najahi
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

Re: Displaying images from database (BLOB) using the img tag

2011-05-16 Thread Chris Pratt
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

RE: Displaying images from database (BLOB) using the img tag

2011-05-16 Thread Ilya Kazakevich
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

Re: Displaying images from database (BLOB) using the img tag

2011-05-16 Thread Maurizio Cucchiara
) 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

Re: Cannot call servlet from portlet using img tag

2008-10-09 Thread Laurie Harper
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

Cannot call servlet from portlet using img tag

2008-10-08 Thread daiyna
-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]

Re: Cannot call servlet from portlet using img tag

2008-10-08 Thread Laurie Harper
=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

Re: Cannot call servlet from portlet using img tag

2008-10-08 Thread daiyna
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

img tag?

2007-09-24 Thread Adam Hardy
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:

Re: img tag?

2007-09-24 Thread Boon Leng
/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

Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Bryce Nesbitt
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

Re: Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Craig McClanahan
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

Re: Two mysteries: ;jsessionid and bad img tag

2006-05-04 Thread Michael Jouravlev
. 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

Struts img tag usage

2004-10-26 Thread e-denton Java Programmer
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

Re: Struts img tag usage

2004-10-26 Thread Matt Bathje
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

Re: Struts img tag usage

2004-10-26 Thread Mark Lowe
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