czw., 29 gru 2022 o 17:40 Greg Huber <gregh3...@gmail.com> napisał(a):
> Does not seem to call the servlet, only a 404.  I use the 
> StrutsPrepareAndExecuteFilter.  With the filter mapping, how does it use the 
> servlet mapping?

The basic idea is that when the filter detects if this a fileupload
request and the new ServletMultiPartRequest is used, it will skip
processing and let the servlet do the job.

> boolean isMultipartRequest = request instanceof MultiPartRequestWrapper
> is still false.

Strange, this happens here [1] after the request was recognised as multipart [2]

[1] 
https://github.com/apache/struts/blob/master/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java#L919-L930
[2] 
https://struts.apache.org/core-developers/file-upload.html#disabling-file-upload-support


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org

Reply via email to