my dog learned polymorphism
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem with File Upload" Watch "Problem with File Upload" New topic

Problem with File Upload

Leonid Dukhvalov

Joined: Oct 29, 2004
Posts: 1

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

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:
subject: Problem with File Upload
It's not a secret anymore!