I'll be darned! If you go back to Struts 1_1 you find that
"CommonsMultipartRequsetHandler does have the long cast to an int. So,
that is probably the source of the error.
Michael McGrady
Michael McGrady wrote:
The method setMaxFile(long) exists even in older versions. So, are
you doing some
Hi Michael,
Thank you for your follow up. I notice there is a classpath confusion
somewhere but since Struts and commons-fileupload are so
intermingled, I can't separate them from each other. I have tried
Struts 1.2.4 but still got the same exception. The reason I am still
working with 1.1 is
To tell you the truth, Marwan, although there are different strokes for
different folks, I find the Struts implementation of commons upload in
CommonsMultipartRequestHandler not to my "taste". There seem to be
continual problems with it as well. Maybe that is my bias. Don't
know. Anyway, Co
Hi, Marwan,
I am going to look into this a bit, but I have to tell you that using
the Struts application looks harder to me than rolling your own and
working with commons upload directly. Anyway, the code you attribute to
CommonsMultipartRequestHandler, viz.,
DiskFileUpload upload = new DiskFi
My action is pasted below. As you will see I never call setMaxFile
(long) in my acdtion. From the stack trace it looks like Struts
internal classes are doing the call:
org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest
(CommonsMultipartRequestHandler.java:219)
These are the 2
The method setMaxFile(long) exists even in older versions. So, are you
doing something other than tossing a long value into that method?
Michael McGrady
Travis Reeder wrote:
Looks like you need the latest commons-fileupload.jar.
Travis
-Original Message-
From: Marwan Salam [mailto:[EMA
Looks like you need the latest commons-fileupload.jar.
Travis
-Original Message-
From: Marwan Salam [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 21, 2004 10:21 AM
To: [EMAIL PROTECTED]
Subject: FileUpload Errors
Hi all,
I am using Struts 1.1 and I am trying to upload an image fi
7 matches
Mail list logo