This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes File transfer using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

File transfer using JSP

ajithsasi kumar
Greenhorn

Joined: Apr 06, 2008
Posts: 21
File transfer both upload and download using jsp. sir please give me the full code.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
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?


Ping & DNS - my free Android networking tools app
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:
http://www.coderanch.com/t/365646/Servlets/java/File-sending-recieving


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: File transfer using JSP
 
Similar Threads
How to busy indicator using jsp page
File transfer using Java Http
How to design file transfer protocol using JSP for file upload and download from net
How do I transfer a text file from server to client?
Urgently Need Help.....