Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Struts and the fly likes Multiple file upload with Struts 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple file upload with Struts 1" Watch "Multiple file upload with Struts 1" New topic

Multiple file upload with Struts 1

kenta kun

Joined: Jun 06, 2012
Posts: 4
Hi, I'm using Struts 1 to build my project and have problem with file upload in Struts 1.
I'm using this guideline.

When I submit the page, Error 500--Internal Server Error occurred.

my JSP file looks like this, I use js function to dynamically add new row of file upload

and when I click the add row button, a new row will be generated

this is my handler, when I click submit, it should be go to addReport, but it fails, error 500

and this is my Form

Can anyone help me about this problem?
I try using this common fileupload too and get almost the same error, argument type mismatch

I agree. Here's the link:
subject: Multiple file upload with Struts 1
It's not a secret anymore!