learn java
The moose likes Spring and the fly likes MultipartHttpServletRequest File upload problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "MultipartHttpServletRequest File upload problem" Watch "MultipartHttpServletRequest File upload problem" New topic
Author

MultipartHttpServletRequest File upload problem

Tomita Militaru
Ranch Hand

Joined: Jan 16, 2009
Posts: 37
Hi,
I'm trying to upload a file, but I keep getting a null MultipartFile back.
The controller code:

The input:

The bean:

I don't need to store the file, I only extract the content, thats all. If you have any questions about the code feel free to ask.
Thanks!


Poor is the man whose pleasures depend on the permission of another.
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: MultipartHttpServletRequest File upload problem