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