dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: upload file

  1. #1
    Join Date
    Jan 2007
    Posts
    14

    upload file

    hi

    I am getting the following error when i try to upload a file on the production webserver but not on local machine

    this is the error i am getting
    where
    public void doUpload(HttpServletRequest request, String rand,String fname) throws
    IOException is the method i am using to upload

    root cause

    java.lang.NoSuchMethodError: edu.suri.FileUploadBean1.doUpload(Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;Ljava/lang/StringV
    org.apache.jsp.jsp3_jsp._jspService(jsp3_jsp.java:111)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:239)
    java.security.AccessController.doPrivileged(Native Method)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:266)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)

    pls help me

    thanks

  2. #2
    Join Date
    Dec 2002
    Location
    Calgary, Canada
    Posts
    6,137
    This means your web server is loading a method from cache where as it does not exist in reality. try restarting your webserver and it should be ok
    Cheers

    Khalid

    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles