• Post Reply Bookmark Topic Watch Topic
  • New Topic

Multiple file upload with Struts 1

kenta kun
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!