This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fileupload using Servlet

 
chaitanya krishna
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want source code for FileUpload into server using Servlet...
here is a client programe...

<html>

<body>
<form action="servlet/FileUpload" method=post enctype="multipart/form-data">
<input type=file name="file">
<p><input type=submit value="Submit"></p>
</form>
</body>
</html>

Regards
krishna
 
sandip mense
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Krishna,

You can use the apache commons file uplaod API for uploading teh file. You can find the details on this URL http://jakarta.apache.org/commons/fileupload

Sandip
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic