hi,
i'm getting an error mesage when i upload a file using multipartrequest class in struts.i'm getting the following error message:-
Corrupt form data: premature ending
pls anybody help asap
-
uploading a file using multipartrequest class in struts (2 messages)
- Posted by: vaidhyanathan badri
- Posted on: March 30 2005 08:11 EST
Threaded Messages (2)
- uploading a file using multipartrequest class in struts by Irakli Nadareishvili on March 30 2005 08:33 EST
- uploading a file using multipartrequest class in struts by Anil Kumar Sadineni on March 30 2005 16:52 EST
-
uploading a file using multipartrequest class in struts[ Go to top ]
- Posted by: Irakli Nadareishvili
- Posted on: March 30 2005 08:33 EST
- in response to vaidhyanathan badri
Try replacing commons-upload.jar of your App Server (JBoss?) with the latest from the Jakarta site.
Yes, even if you have your own version in your lib - still replace the server version. That's a known problem with some versions of JBoss. Maybe true for other ASes too -
uploading a file using multipartrequest class in struts[ Go to top ]
- Posted by: Anil Kumar Sadineni
- Posted on: March 30 2005 16:52 EST
- in response to vaidhyanathan badri
Hi,
I am just guessing. Please try to upload only the file not the form data(other hidden variable and other values) along with that. It may work.
Anil Sadineni.