• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to upload an image in a particular directory?

 
rakshini nithya
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please tell me how to upload an image file from a jsp page to a particular directory using struts?
Thanks in advance.
 
alan wamser
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are planning on using struts then take a look at org.apache.struts.upload.FormFile.

There are lot's of examples if you search Google for "Stuts File Upload".
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!