• Post Reply Bookmark Topic Watch Topic
  • New Topic

com.oreilly.servlet.MultipartRequest error

Malhar Barai
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!