| Author |
Jakarta FileUpload
|
Juan Carlos
Greenhorn
Joined: May 20, 2006
Posts: 8
|
|
Here is the sample code I am trying to run from http://www.theserverside.com/tt/articles/article.tss?l=HttpClient_FileUpload but keep getting the errors: but I keep getting the following error: 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. Thanks [ May 22, 2006: Message edited by: Bear Bibeault ]
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56168
|
|
The org.apache.commons.io package is not part of commons-fileupload-1.1.jar. [ May 22, 2006: Message edited by: Bear Bibeault ]
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Juan Carlos
Greenhorn
Joined: May 20, 2006
Posts: 8
|
|
|
Thanks, How can I make sure that uploaded file is xml file. I want to upload only xml files. Is there a way that I can restrict upload of files to certain types. Thanks
|
 |
 |
|
|
subject: Jakarta FileUpload
|
|
|