Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
SAFROLE YUTANI
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic