commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Az@liS" <azali...@gmail.com>
Subject NoSuchMethodException
Date Mon, 26 Feb 2007 12:55:50 GMT
Hi all,
this the code i execute... following the doc seems to be right... i created the war with inside
commons-fileupload-1.2.jar and commons-io-1.3.1.jar.
but when i try to execute this
FileItemFactory factory = new DiskFileItemFactory();
//Create a new file upload handler
ServletFileUpload upload = new ServletFileUpload(factory);
Method[] mets = upload.getClass().getMethods();
try {
	//FileItem  
	List items = upload.parseRequest(request);  <-- here i ve the error java.lang.NoSuchMethodError
...
} catch() ...

i've this error:

java.lang.NoSuchMethodError: org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(Lorg/apache/commons/fileupload/RequestContext;)Ljava/util/List;


any help is appreciated!

tnx,
Luca



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message