File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes com.oreilly.servlet.MultipartRequest error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "com.oreilly.servlet.MultipartRequest error" Watch "com.oreilly.servlet.MultipartRequest error" New topic
Author

com.oreilly.servlet.MultipartRequest error

Malhar Barai
Author
Ranch Hand

Joined: Aug 17, 2001
Posts: 399
hi all
i keep getting this errors:
java.lang.IllegalArgumentException: Not a directory: malhar
at com.oreilly.servlet.MultipartRequest.(MultipartRequest.java:109)
at Upload_Test.doPost(Upload_Test.java:27)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:335)
at org.apache.jserv.JServConnection.run(JServConnection.java:197)
at java.lang.Thread.run(Thread.java)
when i give :
MultipartRequest multi=new MultipartRequest(req,"malhar",5* 1024 * 1024);
even after creating directories name "malhar" on the server.
pls need yr help urgently
thnx
malhar


Malhar Barai
SOA & Java Book
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: com.oreilly.servlet.MultipartRequest error