I have a HTML form generated using JavaMail and send to Notes email user who will fill in some information and select file to upload. Therefore it will be a multipart/form-data HTML form. The HTML form will invoke a servlet running in a Tomcat server which performs the file upload using Apache Commons FileUpload . However no parameter could be retrieved using the ServletFileUpload in the servlet, i.e, FileItemIterator has no next element. But if I copied and invoke the HTML form using web browser and call the servlet, it will run successfully.
On the other hand, if it is not a multipart/form-data HTML form, the servlet could retrieve the parameters normally using getParameter method when submitting the HTML forms within the Notes email.
Is there any settings or special procedure required in order to pass the parameters to the servlet for multipart request under Notes email?