Hello everyon,
I got this problem working with the following :
<display:column><img src="menjeans.png" alt="Picture"/></display:column>
What I really want to do is pick the image data or string from the DB
with something like this:
<display:column><img src="${bpic}" alt="Picture"/></display:column>
bpic being the attribute of the database. I'll look further into this.
I also want to put my images in a folder and access it like this-
<display:column><img src="images/menjeans.png" alt="Picture"/></display:column>
This one is not working either.
In the long run- I shall be picking it up from the DB like so-
display:column><img src="images/${bpic}" alt="Picture"/></display:column>
I have another error which I'll post in another thread..
Thanking you.
eve
> Date: Wed, 23 Sep 2009 21:55:11 -0300
> From: rrigoni_at_gmail.com
> To: users_at_glassfish.dev.java.net
> Subject: Re: Glassfish not displaying Image
>
> Your Content Type in servlet responde is correct?
> Regards
> Ronaldo
>
> 2009/9/23, Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>:
> > Salut,
> >
> > Eve Pokua wrote:
> >> Hello,
> >>
> >> I've been trying to display an image as well. I get the same x result.
> >>
> >> I'm going to test my application in tomcat to see if it works. If it works
> >> then glassfish may want to consider this further.
> >
> > Can you share a test case? File an issue here:
> >
> > * https://glassfish.dev.java.net/issues/enter_bug.cgi?issue_type=DEFECT
> >
> > Thanks!
> >
> > -- Jeanfrancois
> >
> >
> >>
> >> eve
> >>
> >> > Date: Wed, 23 Sep 2009 01:55:37 -0700
> >> > From: glassfish_at_javadesktop.org
> >> > To: users_at_glassfish.dev.java.net
> >> > Subject: Glassfish not displaying Image
> >> >
> >> > We have written a small Captcha code for web-application, which works
> >> fine in Tomcat 6.0.20.
> >> > We ported this code to Glassfish. (Sun GlassFish Enterprise Server
> >> v2.1 (9.1.1) build b60e-fcs)
> >> > It is noticed that application not displaying the captcha image.It
> >> shows Cross mark in web browser.however it works fine in tomcat.
> >> > We changed the imagetype from png to jpg but in vain.
> >> > Why this code is not displaying the image in browser via Galssfish
> >> though it works fine in Tomcat?Do we need to do some setting in
> >> Glassfish server to display graphics/image.
> >> > [Message sent by forum member 'sspadmin' (sspadmin_at_rediffmail.com)]
> >> >
> >> > http://forums.java.net/jive/thread.jspa?messageID=365245
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> >> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >> >
> >>
> >> ------------------------------------------------------------------------
> >> Beyond Hotmail - see what else you can do with Windows Live. Find out
> >> more. <http://clk.atdmt.com/UKM/go/134665375/direct/01/>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
> >
>
> --
> Enviado do meu celular
>
> []'s,
> Ronaldo Rigoni
> http://www.ronaldorigoni.com.br
> Desenvolvedor JEE
> Ministério da Educação - CESPE
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
_________________________________________________________________
MSN straight to your mobile - news, entertainment, videos and more.
--_62adeb6d-0b72-45a9-b3d2-599f15098c7f_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello everyon,<BR>
<BR>
I got this problem working with the following :<BR>
<BR>
<display:column><img src="menjeans.png" alt="Picture"/></display:column><BR>
<BR>
What I really want to do is pick the image data or string from the DB<BR>
<BR>
with something like this:<BR>
<BR>
<display:column><img src="${bpic}" alt="Picture"/></display:column><BR>
<BR>
bpic being the attribute of the database. I'll look further into this.<BR>
<BR>
I also want to put my images in a folder and access it like this-<BR>
<BR>
<BR>
<display:column><img src="images/menjeans.png" alt="Picture"/></display:column><BR>
<BR>
This one is not working either.<BR>
<BR>
In the long run- I shall be picking it up from the DB like so-<BR>
<BR>
display:column><img src="images/${bpic}" alt="Picture"/></display:column><BR>
<BR>
I have another error which I'll post in another thread..<BR>
<BR>
<BR>
Thanking you.<BR>
<BR>
eve<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
<BR> <BR>> Date: Wed, 23 Sep 2009 21:55:11 -0300<BR>> From: rrigoni@gmail.com<BR>> To: users@glassfish.dev.java.net<BR>> Subject: Re: Glassfish not displaying Image<BR>> <BR>> Your Content Type in servlet responde is correct?<BR>> Regards<BR>> Ronaldo<BR>> <BR>> 2009/9/23, Jeanfrancois Arcand <Jeanfrancois.Arcand@sun.com>:<BR>> > Salut,<BR>> ><BR>> > Eve Pokua wrote:<BR>> >> Hello,<BR>> >><BR>> >> I've been trying to display an image as well. I get the same x result.<BR>> >><BR>> >> I'm going to test my application in tomcat to see if it works. If it works<BR>> >> then glassfish may want to consider this further.<BR>> ><BR>> > Can you share a test case? File an issue here:<BR>> ><BR>> > *
https://glassfish.dev.java.net/issues/enter_bug.cgi?issue_type=DEFECT<BR>> ><BR>> > Thanks!<BR>> ><BR>> > -- Jeanfrancois<BR>> ><BR>> ><BR>> >><BR>> >> eve<BR>> >><BR>> >> > Date: Wed, 23 Sep 2009 01:55:37 -0700<BR>> >> > From: glassfish@javadesktop.org<BR>> >> > To: users@glassfish.dev.java.net<BR>> >> > Subject: Glassfish not displaying Image<BR>> >> ><BR>> >> > We have written a small Captcha code for web-application, which works<BR>> >> fine in Tomcat 6.0.20.<BR>> >> > We ported this code to Glassfish. (Sun GlassFish Enterprise Server<BR>> >> v2.1 (9.1.1) build b60e-fcs)<BR>> >> > It is noticed that application not displaying the captcha image.It<BR>> >> shows Cross mark in web browser.however it works fine in tomcat.<BR>> >> > We changed the imagetype from png to jpg but in vain.<BR>> >> > Why this code is not displaying the image in browser via Galssfish<BR>> >> though it works fine in Tomcat?Do we need to do some setting in<BR>> >> Glassfish server to display graphics/image.<BR>> >> > [Message sent by forum member 'sspadmin' (sspadmin@rediffmail.com)]<BR>> >> ><BR>> >> >
http://forums.java.net/jive/thread.jspa?messageID=365245<BR>> >> ><BR>> >> > ---------------------------------------------------------------------<BR>> >> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net<BR>> >> > For additional commands, e-mail: users-help@glassfish.dev.java.net<BR>> >> ><BR>> >><BR>> >> ------------------------------------------------------------------------<BR>> >> Beyond Hotmail - see what else you can do with Windows Live. Find out<BR>> >> more. <
http://clk.atdmt.com/UKM/go/134665375/direct/01/><BR>> ><BR>> > ---------------------------------------------------------------------<BR>> > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net<BR>> > For additional commands, e-mail: users-help@glassfish.dev.java.net<BR>> ><BR>> ><BR>> <BR>> -- <BR>> Enviado do meu celular<BR>> <BR>> []'s,<BR>> Ronaldo Rigoni<BR>>
http://www.ronaldorigoni.com.br<BR>> Desenvolvedor JEE<BR>> Ministério da Educação - CESPE<BR>> <BR>> ---------------------------------------------------------------------<BR>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net<BR>> For additional commands, e-mail: users-help@glassfish.dev.java.net<BR>> <BR> <br /><hr />View your Twitter and Flickr updates from one place - <a href='
http://clk.atdmt.com/UKM/go/137984870/direct/01/' target='_new'>Learn more!</a></body>
</html>
--_62adeb6d-0b72-45a9-b3d2-599f15098c7f_--