[OS-webwork] Upload a file

2004-01-30 Thread Giovanni Formenti
Hallo... I'm trying to use multipart for file upload with WW1.4. I copy the code from the cookbook (Handling file uploads), I put webwork.multipart.parser=pell in my ww.properties but i have an error: java.lang.NoClassDefFoundError: http/utils/multipartrequest/ServletMultipartRequest Any idea? I

Re: [OS-webwork] Upload a file

2004-01-30 Thread Francisco Hernandez
you need to put that library in your WEB-INF/lib dir, im not sure which lib ww1 gets shipped with but you might want to try changing pell to cos and see if that works Giovanni Formenti wrote: Hallo... I'm trying to use multipart for file upload with WW1.4. I copy the code from the cookbook

[OS-webwork] Upload a file

2004-01-30 Thread Giovanni Formenti
Hallo... I'm trying to use multipart for file upload with WW1.4. I copy the code from the cookbook (Handling file uploads) but i have an error: java.lang.NoClassDefFoundError: http/utils/multipartrequest/ServletMultipartRequest I have webwork.multipart.parser=pell in my ww.properties. Any idea?

[OS-webwork] upload and the action

2003-11-28 Thread David Nielsen
why isnt the action class called if u upload a file larger than the max size in webwork.multipart.maxSize property --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help

Re: [OS-webwork] upload and the action

2003-11-28 Thread Tracy Snell
On Nov 28, 2003, at 6:43 AM, David Nielsen wrote: why isnt the action class called if u upload a file larger than the max size in webwork.multipart.maxSize property Webwork 1 or 2? I'm fairly certain in 2 it'll get called. At least it did at one time.

[OS-webwork] upload

2003-11-27 Thread David Nielsen
Hi I have made this upload action (directly copied from cookbook): MultiPartRequestWrapper multiWrapper = (MultiPartRequestWrapper) ServletActionContext.getRequest(); Enumeration e = multiWrapper.getFileNames(); while (e.hasMoreElements()) { // get the value of this input tag inputValue

Re: [OS-webwork] upload

2003-11-27 Thread Hani Suleiman
The file size in webwork.properties is in bytes, so according to your settings, anything over 81kb will not work. David Nielsen said: Hi I have made this upload action (directly copied from cookbook): MultiPartRequestWrapper multiWrapper = (MultiPartRequestWrapper)