Can someone tell what am I doing wrong. I have commons-fileupload-1.1.jar in my classpath. I even tried someother samples but keeps getting the same error i.e. parseRequest(request); I really want to upload an xml file only and read it's content from memory in the servlet and do the processing. Any help is appreciated.