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

file upload

Arun Boraiah
Ranch Hand

Joined: Nov 28, 2001
Posts: 233
Hi,
In my project I need to read a data from text file sent from the file at the client side and update database.
Problem I am facing is.
1. Should I store the file temporally in the server? (i.e., until it is updated to the database).
2. How to get the file from client to server.
Please give your valuable suggestion at the earliest.
Thanks in advance.
-arun


Sharing is learning
Shubhrajit Chatterjee
Ranch Hand

Joined: Aug 23, 2001
Posts: 356
Use multipart requests for file upload.


Shubhrajit
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
use Oreilly classes or JSPSmartUpload. Remember that multipart forms are handled completely different. This is the reason you use these classes.
cheers


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
Arun Boraiah
Ranch Hand

Joined: Nov 28, 2001
Posts: 233
Thank for the info.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: file upload