hi, all I met a problem with stream generator.
I submit a form as <form id="uploadForm" dojoAttachPoint="uploadFormNode" method="post" enctype="multipart/form-data" action="upload.xml"> ... <input name="target" id="target" name="target" type="file"/> ... </form> So in the sitemap it as follow: <map:generate type="stream"> <map:parameter name="form-name" value="target"/> <map:parameter name="defaultContentType" value="multipart/form-data"/> </map:generate> but I get the error like : Exception in StreamGenerator.generate(): java.lang.NullPointerException So what's wrong with my code? the "target" is a well-format xml file. Anybody can help me? -flutina