users@glassfish.java.net

Re: java + pictures/images

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 24 Aug 2009 22:04:29 -0400

Salut,

Eve Pokua wrote:
> Hello everyone,
>
> I have an application which has both swing and jsp/servlet as
> the client. The apllication is ejb3 and server is glassfish v2.1
> cluster. I am also using sql 2000 as the database. I would need to add
> pictures/ images- jpeg, jif. I'm not sure how this' done. Any ideas?
> Please! Any suggestion appreciated.

Put your picture under the same directory as your WEB-INF, e.g:

your_app/WEB-INF
your_app/Your pictures.

They will be available under http://host:port/your_app/xxxx

A+

--Jeanfrancois

>
> Thank you
>
> eve
>
> ------------------------------------------------------------------------
> Celebrate a decade of Messenger with free winks, emoticons, display
> pics, and more. Get Them Now
> <http://clk.atdmt.com/UKM/go/157562755/direct/01/>