If you don't need the file-upload interceptor then remove it from your interceptor stack or exclude it for those actions which rely on your custom fileupload-servlet.

webdev2 schrieb:
I upgraded my app to Struts2, which provides file uploading.   Now my custom
servlet for uploading an attachment no longer receives the request.   Is
there a configurable option for restoring the old functionality of having
the custom servlet upload the attachment?   Thanks.

FYI - 1) Initially an exception was thrown as a result of
FilterDispatcher.doFilter handing off multipart handling.   This was due to
a jar mismatch.  So, I got the correct versions of the commons-io.jar and
commons-fileupload.jar, and the exception is gone.  But my servlet never
receives the request. 2) I have a custom interceptor stack containing
defaultStack.   That means the fileUpload interceptor is available.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to