Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

File transfer using JSP

 
ajithsasi kumar
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Report post to moderator
File transfer both upload and download using jsp. sir please give me the full code.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
JSPs aren't suitable for file handling. Use a servlet instead.

The server side of a file upload can be handled by a library like Apache Commons FileUpload.

The easiest way to download a file is to put it on the server and link to it. Or do you mean streaming the file to the browser?
 
    Bookmark Topic Watch Topic
  • New Topic