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 Spring and the fly likes File upload using spring mvc 3.0 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 » Frameworks » Spring
Bookmark "File upload using spring mvc 3.0" Watch "File upload using spring mvc 3.0" New topic
Author

File upload using spring mvc 3.0

santosh kunadi
Greenhorn

Joined: Sep 29, 2011
Posts: 2
Hi,
I want to upload .txt files using spring mvc. Created my model class with a MultipartFile file attribute.
Now , i want user to upload a .txt file and upon hitting upload button the file should be scanned out for any errors and if everything is Ok, file contents must be displayed in the bottom panel of my screen.
Let me know how should i capture the text file data, should i use a model as each file has columned data or is there any better technique?
santosh kunadi
Greenhorn

Joined: Sep 29, 2011
Posts: 2
Binded the form to a model using spring mvc 3.0 .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File upload using spring mvc 3.0
 
Similar Threads
application saves data upon clicking the browser refresh button
upload txt files only
help designer mvc
FileUpload and File type
allow upload txt files only