This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need an upload servlet

 
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
Pie
Posts: 64629
86
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