If "enctype=multipart/form-data" form sumission fails
posted 10 years ago
Hi All, I have migrtaed a struts application to Portal application using Struts-Portlet Framework and using the controller as below in struts-config <controller processorClass="com.ibm.wps.portlets.struts.WpsRequestProcessor"> </controller>.
Now I have a jsp that needs to have a form of enctype=multipart/form-data. But when I submit this form my application just hangs. My form tag looks like this <html:html> <html:form method="post" enctype="multipart/form-data" action="/checkInNew" > <html:file property="primaryFile" maxlength="250" /> <html:submit property="submit" >Check In >></html:submit> </html:form> </html:html>
My Struts Config has this declared as global forward <global-forwards> <forward name="checkInNew" path="/checkInNew.do"/> </global-forwards>.
It appears to me as if it is not even able to process the form Data.
this works fine with pure struts based applciation.