• Post Reply Bookmark Topic Watch Topic
  • New Topic

If "enctype=multipart/form-data" form sumission fails  RSS feed

Anita Ganga
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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">

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:form method="post" enctype="multipart/form-data" action="/checkInNew" >
<html:file property="primaryFile" maxlength="250" />
<html:submit property="submit" >Check In >></html:submit>

My Struts Config has this declared as global forward
<forward name="checkInNew" path="/checkInNew.do"/>

It appears to me as if it is not even able to process the form Data.

this works fine with pure struts based applciation.

Appreciate any thoughts
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!