Struts MultipartRequestWrapper not working with WAFFLE

Nov 30, 2010 at 3:51 PM

There is a legacy system that is using Struts 1.1 and enctype="multipart/form-data" to upload files.  It has been working fine.  I implemented WAFFLE and the file upload no longer works.  When the page is submitted the Action class is called, but the ActionForm properties are empty.   In the ActionForm's reset method the request instance is a MultipartRequestWrapper, however, the ActionMappings are empty.  I remove WAFFLE and the file upload works as normal.  Does anyone know how Struts handles multipart documents and why WAFFLE would interfere with this?

Nov 30, 2010 at 4:47 PM

I would imagine that this is a FORM POST. This might be related or interesting: I would get a client-server HTTP trace next.

Nov 30, 2010 at 6:58 PM

In the WEB-INF.xml I had an old security constraint that was not commented out.  I removed the security constraint and the file upload works.