users@glassfish.java.net

RE: Re: JSF - referencing images outside of deployed .ear

From: Jason Lee <lee_at_iecokc.com>
Date: Wed, 2 May 2007 16:23:04 -0500

I would guess either a servlet or PhaseListener would have to be
employed there:

Serlvet: http://foo/imageServlet/imageName.jpg
PhaseListener
http://foo/myJsfContext/someSpecialUrlThePlPicksUpOn.jsf?image=imageName
.jpg

Something like that. You might look at Shale Remoting for the PL if you
go that route...

-----
Jason Lee, SCJP
JSF RI Dev Team
Senior Software Engineer
http://www.iec-okc.com
 

> -----Original Message-----
> From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
> Sent: Wednesday, May 02, 2007 4:21 PM
> To: users_at_glassfish.dev.java.net
> Subject: Re: JSF - referencing images outside of deployed .ear
>
> I thought I'd bump this since it's been a few months.
>
> I need the ability to upload images via JSF. I'd store them
> in C:\images, for example, but how would I call them from the
> web application to display them on a JSF view?
>
> Thanks!
> [Message sent by forum member 'zambizzi' (zambizzi)]
>
> http://forums.java.net/jive/thread.jspa?messageID=215236
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>