File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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.
I agree. Here's the link:
subject: MultipartHttpServletRequest File upload problem