Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSP and the fly likes Problem with File Upload 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 » Java » JSP
Bookmark "Problem with File Upload" Watch "Problem with File Upload" New topic
Author

Problem with File Upload

Leonid Dukhvalov
Greenhorn

Joined: Oct 29, 2004
Posts: 1
Hi,

I'm trying to use the Apache Commons FileUpload, however every time it returns an empty list. This is my code:






The result is:



What am I doing wrong? I am using Tomcat 5.0 right now, but I had the same problem with Tomcat 4.1.
Pedro Gongora
Greenhorn

Joined: Oct 03, 2003
Posts: 17
hi, your code is perfectly right, i've copy & pasted it on my machine and worked fine.
which browser are you using?
do you have any proxy, load balancer, web server, etc. in front of your tomcat??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with File Upload
 
Similar Threads
Jakarta FileUpload
Setting File Permissions
Upload files from client
problem with commons FileUpload
File Upload Error