Results 1 to 3 of 3

Thread: File upload

  1. #1
    bekir is offline Member
    Join Date
    Apr 2011
    Posts
    4
    Rep Power
    0

    Default File upload

    Dear readers,

    I use the apache file upload lib to upload files, but its not working. I used many file upload examples, but no one is working. I get the following error:

    PHP Code:
    SEVERE: Allocate exception for servlet FileUploadServlet
    java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadException
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
    	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
    I am using Tomcat 7.0.11 and Glassfish 3.
    I also import the lib Jars from apache fileupload to my build path and its not giving errors in Eclipse.

    Please help me.

    Regards,

    Bekir
    Last edited by bekir; 04-08-2011 at 09:53 AM. Reason: more information

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,802
    Rep Power
    19

    Default

    You may have them in your build path, but are they being deployed?
    Are they in your WEB-INF/lib directory for your webapp?
    If not then you need to sort out your deployment.

  3. #3
    bekir is offline Member
    Join Date
    Apr 2011
    Posts
    4
    Rep Power
    0

    Default figure out

    Quote Originally Posted by Tolls View Post
    You may have them in your build path, but are they being deployed?
    Are they in your WEB-INF/lib directory for your webapp?
    If not then you need to sort out your deployment.
    thanks for your suggestion, I will figure out and will post here my findings

Similar Threads

  1. JSP File Upload
    By maas in forum JavaServer Pages (JSP) and JSTL
    Replies: 6
    Last Post: 07-09-2010, 11:07 AM
  2. Trying upload file
    By johniem in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 07-01-2010, 10:31 AM
  3. :large file upload to server(chunk upload)
    By tommy_725 in forum Networking
    Replies: 0
    Last Post: 10-16-2009, 12:21 AM
  4. file upload
    By sundarjothi in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 06-27-2008, 11:52 AM
  5. File Upload
    By ShoeNinja in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 11-09-2007, 10:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •