You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Keith Pemberton <kb...@cox.net> on 2003/08/19 17:08:43 UTC

Dealing with images...

I would like to get some input from you guys as to how best to deal with a
group of images.  I want to put up a photo album of sorts but I am unsure as
to how best to access the directory that they are contained in.  I could put
an initial parameter in the web.xml file that points to the directory, I
guess, and just access that parameter.  Or I could do a context
getRealPath(), or maybe even store each location in a database table along
with a description.  Anyway, your feedback on how best to handle this is
much appreciated!

Keith Pemberton
-------------------------------------------
"Everything's changing when I turn around all out of my control I'm a
mobile..."
Mobile off the cd Let Go by Avril Lavigne.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: Dealing with images...

Posted by Mark Galbreath <ma...@qat.com>.
Keith,

I'm not sure, but it seems I remember a photo album example in one of the
Java tutorials at java.sun.com.  If not, I know there are some at
www.gamelan.com.

Mark

-----Original Message-----
From: Keith Pemberton [mailto:kbpember@cox.net] 
Sent: Tuesday, August 19, 2003 11:09 AM
To: struts-user@jakarta.apache.org
Subject: Dealing with images...


I would like to get some input from you guys as to how best to deal with a
group of images.  I want to put up a photo album of sorts but I am unsure as
to how best to access the directory that they are contained in.  I could put
an initial parameter in the web.xml file that points to the directory, I
guess, and just access that parameter.  Or I could do a context
getRealPath(), or maybe even store each location in a database table along
with a description.  Anyway, your feedback on how best to handle this is
much appreciated!

Keith Pemberton
-------------------------------------------
"Everything's changing when I turn around all out of my control I'm a
mobile..." Mobile off the cd Let Go by Avril Lavigne.



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org