Yes, I have the same problem. I used multipart/form, and I have file
element.
It always happen when I post the data at first time, or after I refresh the
page by clicking F5 or browser's Refresh button.
And it might(not always) work correctly when I post it again. No matter I
upload a file or not.
If I remove the file element, the form worked perfectly.
I will check the common-lang version problem tomorrow, but I still want to
know the exactly reason.
Did anybody fix this problem before? Any suggestion would be appreciated.
2007/1/31, Dariusz Wojtas <dwojtas@(protected)>:
>
> I had similar problems with fileupload last weekend.
> At first I thought that it could be caused by a filter that I have in
> front of my app - prints the URI and all params to the console - does
> the processing before analising multipart data.
> But I modified the filter to get/print that info after processing the
> action.
> I even disabled the filter - it did not fix it.
> I had no exceptions.
> The params were just not set.
>
> Now it seems to work but I am really not sure what exactly fixed the
> issue.
> I am using the default config, commons-upload with S2.0.4.
>
> Dariusz Wojtas
>
> On 1/30/07, bob <tomfrost@(protected):
> >
> >
> >
> >
> > Hi. I am having some strange problems when using the file upload
> interceptor. When I use the file upload, I experience an extremely erratic
> behaviour where sometimes my request params get set on my action and
> sometimes they do not. All params from my form are either there or not
> there; this means that when they make it through to my action, its all of
> them -- both the non file upload related ones as well as the File itself.
> >
> > Anyone else seeing this? I removed the file upload part and the
> transfer of params works perfectly, so its something there.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
--
Guo Jia