Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

I need an upload servlet  RSS feed

 
Azz Romaysa
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Does someone have a servlet which I can use to upload files, images... I've always used one, but it's in jsp. I would like one as a Servlet.

Could someone help me?

Thanks,
Abu Romaysa
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have it working in a JSP it should be a fairly straight-forward matter to factor the code out of the JSP and into a servlet. What aspect has you stumped?
 
Elihu Smails
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out the jakarta commons project.

http://jakarta.apache.org/commons/fileupload/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!