Re: Displaying uploaded files

Greg Dunn <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
If you put image files into the temporary directory created by the container
(javax.servlet.context.tempdir) can they be displayed from there?  I've
tried many relative paths with no success.

Greg


-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[email protected]]On Behalf Of Greg
Dunn
Sent: Monday, June 16, 2003 10:48 AM
To: [email protected]
Subject: Displaying uploaded files


I'm allowing site administrators to upload image files to the server to
display in web pages.  The files are being uploaded to a admin-configured
directory outside the container.  Do I need to periodically move the files
into the container, or is there a way for the server to 'import' them into
web pages from a local file system directory?

Greg

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.