Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!