Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

uploading csv file to a webserver  RSS feed

 
Sunesh Kumar
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends

I want to develop an application which has to upload a csv file to the web server can any one give me an idea how to start

Thanks in advance ...
 
Arvind Sampath
Ranch Hand
Posts: 144
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the HTML File control for presentation. Use the MultipartRequest class in your Servlet to save it in the server machine.

The above steps are same irrespective of the type of the file that is uploaded. Hence the same apply to .csv files.
 
Sunesh Kumar
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sampath

can i get a sample example for this application..any where
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The File Upload wiki page has links to libraries and an article that help with HTTP file upload.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!