This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MultipartHttpServletRequest File upload problem
 
Similar Threads
how to handle file uploads in spring
Unable to upload file
File Download via Spring does not work in Firefox
Problem with File uploading from popup
file uploading problem ( greater than 2MB)