Basically I'm building an ecommerce site using MyFaces.  I have over a years
experience with it, though I've come across a problem I have never
encountered before.

For this site the user can upload images of the item they are selling. 
Except I am having some problems with storing this and displaying the info
on screen.  I was going to save the image to a location locally
("C:\images\uniqueId") and display this with <h:graphicImage> but it does
seem to like reading from this location.  I am running on a windows machine
but noticed when supplying the string for the location of an icon saved
within the application the directory would be /Deploy Name/image.

How can I use the graphicImage tag to read from outside it's JBoss
deployment?  Or would it be better saving somewhere else when a user uploads
an image?

Any help would be much appreciated as I have no experience with uploading
and saving of images on this form of web application.  I would prefer to
save a link in the database and display this way if possible.

Thanks
Michael.
-- 
View this message in context: 
http://www.nabble.com/GraphicImage-Question-tf3273198.html#a9101303
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to