Hi all!

When I compile a servlet in my jdk1.2, I have to do it(put it/adress it-in
the top) within a package "package javax.servlet.http;" else the compilator
will tell me there is "...know HttServlet as expected.."
Then when I place this servlet in Jswdk-1.0/examples/Web-inf/servlets/ and
try to wiew it in the browser after opening
"localhost:8080/examples/myServlet" i got the following error:

"Error: 500
Internal Servlet Error:

java.lang.NoClassDefFoundError: HelloWorldExample (wrong name:
javax/servlet/http/HelloWorldExample)...and so on..."

I guess it�s something with the classpath.But how do I solve it?In the
jdk1.2 or in the jswdk-1.0 or in the autoexec.bat?
Please?Somebody...

Thanks in advance!

Benny Holmberg
[EMAIL PROTECTED]


___________________________________________________________________________
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

Reply via email to