Struts MultipartRequestWrapper not working with WAFFLE

Nov 30, 2010 at 4: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?

Coordinator
Nov 30, 2010 at 5:47 PM

I would imagine that this is a FORM POST. This might be related or interesting: http://code.dblock.org/ShowPost.aspx?id=104. I would get a client-server HTTP trace next.

Nov 30, 2010 at 7: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.