This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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?