wood burning stoves 2.0*
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 Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "MultipartHttpServletRequest File upload problem" Watch "MultipartHttpServletRequest File upload problem" New topic

MultipartHttpServletRequest File upload problem

Tomita Militaru
Ranch Hand

Joined: Jan 16, 2009
Posts: 37
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.

Poor is the man whose pleasures depend on the permission of another.
Consider Paul's rocket mass heater.
subject: MultipartHttpServletRequest File upload problem