I ran into the same problem with inconsistent behavior when uploading
files. Sometimes i get a RequestFacade, and sometimes I get the right
MultiPartRequestWrapper.
I dug into the struts source code a little and I think I found the
culprit.
in org.apache.struts2.dispatcher.FilterDispatche
I have now done some more studies by making my own fileUploadInterceptor
class. It is complety the same as
org.apache.struts2.interceptor.FileUploadInterceptor, except that I
write in the log the class name of the HttpServletRequest I get in the
intercept method.
If I bypass apache as fronte
--- nordland <[EMAIL PROTECTED]> wrote:
> I had the same problem too. The invocation of the
> ActionContextCleanUp-filter was the right choice.
> Fileupload works now without any errors.
That's great!
I or someone else will add something to the wiki page,
although I sure wish I could find the th
I had the same problem too. The invocation of the ActionContextCleanUp-filter
was the right choice. Fileupload works now without any errors.
Thanks!
Dave Newton-4 wrote:
>
> Did either of you try specifying the context cleanup
> filter?
>
>
> contextCleanup
>
> org.apache.struts2.d
Thanks for the tip. But it does not work in my case.
best regards
Torben Frøberg
Dave Newton wrote:
Did either of you try specifying the context cleanup
filter?
contextCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
and put it first in the filter mapping.
I have yet
Did either of you try specifying the context cleanup
filter?
contextCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
and put it first in the filter mapping.
I have yet to have any issues w/ file upload since
including that and I still think I vaguely recall a
thread about
I cannot help you. But I have exactly the same problem. Sometimes it
seems that, the execute method is called before the HTTP client has
finished uploading the file. This results in a null value for the File
object upload.
But the file is uploaded, the problem is just, he the execute methd is
7 matches
Mail list logo