I am using a DSP to post the form to a flow service. In the form I am doing a file upload (.zip file) and some entries in the text fields. The enc-type is ‘multipart/form-data’.
When the multipart content handlers are loaded properly there is no problem in peocessing the submitted form as the content handler will parse each part and make it available for processing.
But when the IS is restarted, the multipart content handlers are not being loaded few times. In such cases when the form is submitted the form data is coming into the flow as ‘contentStream’. So the implementation fails until the multipart content handlers are reloaded.
So I would like to change my implementation slightly. When the content handlers are loaded then no problem. Otherwise I would like to parse the content stream into individual parts.
Can someone help me in doing this?