aspose file tools*
The moose likes JSP and the fly likes Uploading Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Uploading Files" Watch "Uploading Files" New topic
Author

Uploading Files

Hus En
Greenhorn

Joined: Feb 28, 2013
Posts: 4
Please suggest me a method for uploading files like docx, xls, pdf.
what is the best to chose? to upload a file to a database or to upload a file to the server? im using jsp/servlet and im stucked between the file uploading part in my project. Since im very new to jsp please help me to be on right track.
Thanks :)
K. Gil
Ranch Hand

Joined: Apr 29, 2011
Posts: 75


The fileupload Example Application
http://docs.oracle.com/javaee/6/tutorial/doc/glraq.html

How do I upload a file to a servlet?
http://www.avajava.com/tutorials/lessons/how-do-i-upload-a-file-to-a-servlet.html

Uploading file using JSP
http://www.java-tips.org/java-ee-tips/javaserver-pages/uploading-file-using-jsp.html

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61187
    
  66

Do not use a JSP for this. Using a JSP with Java code is an outdated and obsolete practice from 12 years ago.

It's like trying to build a smart phone using vacuum tubes.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Uploading Files