This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multiple file upload with Struts 1" Watch "Multiple file upload with Struts 1" New topic
Author

Multiple file upload with Struts 1

kenta kun
Greenhorn

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

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple file upload with Struts 1
 
Similar Threads
Why File name is becoming null in action class ?
Date issue
No Bean Specified
Map the action form object
java.lang.IllegalArgumentException: argument type mismatch