Friday, January 11, 2002 12:41 AM
Hi, I want to upload a file via jsp. I have a html-form like this: <_form method="post" action="upload.jsp" enctype="multipart/form-data"> in my jsp-file i use the Apache-classes org.apache.struts.upload.* to get the request from the html-file. Why get I a NullPointerException by using the following lines??? MultipartIterator iter = new MultipartIterator(request); //this is the cause for a NullPointerException MultipartElement element; I hope you can help me! ps: I´m sorry for my pure english.