Hi Michael,
pls. kindly change ur path "." to "/tmp", or just create a directory with a
permission of 666. becuase servlet is a nobody group..
new MultipartRequest(req, ".", 5 * 1024 * 1024);
--> new MultipartRequest(req, "/tmp", 5 * 1024 * 1024);
:)
>From: Michael Chung <[EMAIL PROTECTED]>
>Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> Servlet API Technology." <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: java.lang.NoClassDefFoundError
>Date: Fri, 29 Oct 1999 20:53:58 -0700
>
>Hi everybody,
>
>I'm new to java servlet. I installed JDK1.2.2 and JWS 2.0 on my PC.
>I'm succeed on running the 'HelloWorld' servlet, but when I tried to
>run the 'UploadTest.java' example, I've got the following error:
>
> > 500 Internal Server Error
>
> > The servlet named invoker at the requested URL
>
> > http://localhost:8080/servlet/UploadTest
>
> > reported this exception: java.lang.NoClassDefFoundError. Please report
>this to the > administrator of the web server.
>
> > java.lang.NoClassDefFoundError
>
>Notes: I've put the 'UploadTest.class' in my C:/JWS/servlets/ subdir
>and the
> 'Upload.html' in the C:/JWS/public_html/ subdir. I loaded
>the 'Upload.html'
> in Netscape, filled in the name and a full path/file fields
>then click 'Submit'
> button. What am I missing here? Any ideas?
>
><< UploadTest.java >>
><< upload.html >>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html