From: peter mcgregor <pdm@ad...> - 2003-10-03 05:38:01
I have just spent most of the day finding this out, and then I found a
discussion about this in the mailing lists. gggrrh.
I'm not sure if the problem has been fixed or not, but points I noticed
Application runs fine in Project Builder, but not in a servlet. The
InputStream in WOFileUpload is null,
or if I don't use streaming I get the following debug message
Value in request was of type 'java.lang.String' instead of NSData
Verify that the WOForm 'enctype' binding is set to 'multipart/form-data'
I 'm using the prebuilt WO5.2 binaries. I'm using English as my
My workaround was to extend from WOApplication and WOSession, and not
the ERX versions.
>>> Hi Yasushi,
>>> There is actually a know issue with ERXMessageEncoding and ERXSession
>>> and it may prevent your application to upload files via
>>> WOFileUpload. This will
>>> only happen when your web browser's preferred language is set to
>>> Could you please try to set the preferred language to English and
>>> see if it solves
>>> the problem? If you're using Safari, you'll go to International
>>> panel of the System
>>> Preferences and switch the languages order under Language section.
>>> If the above solve your problem, I'll try if I can find out the
>>> reason. (I don't know
>>> the exact reason yet.)
>>> Tatsuya Kawano