aspose file tools*
The moose likes Servlets and the fly likes To anyone who used a Servlet to upload images.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "To anyone who used a Servlet to upload images...." Watch "To anyone who used a Servlet to upload images...." New topic
Author

To anyone who used a Servlet to upload images....

SAFROLE YUTANI
Ranch Hand

Joined: Jul 06, 2001
Posts: 257
I have a servlet on an application server that allows a user to upload images. The images, however, are stored on the web server running Apache, which is a different physical machine. I need to upload images from the app server and create user-specific directories on the web server to store the images for the user.
Anyone attempt to do something similar? The only way I can see this to function would be to use FTP from the servlet to send the images, once uploaded, to the machine running Apache so that they can be statically served from Apache, which is the intent.
SAF
 
Don't get me started about those stupid light bulbs.
 
subject: To anyone who used a Servlet to upload images....