File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 42945
    
  68
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?
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File transfer using JSP