I just start learning Servlet. I have downloaded JDK-1.2 and JSDK-2.1 into
my PC(running on Win95). I copied several examples from the book Java
Servlet Programming(Jason Hunter) I just bought. But I don't know how to
see the results. I tried the "servletrunner" on dos prompt, nothing
happens. Could someone tell me how to do it or which site has info about
it? Many thanks.
A newbie.
On Mon, 24 May 1999, Hsu, Jennifer wrote:
> I had a simple servlet program compile under jdk1.2 rc1 and jsdk 2.0.Then I
> run from HTML. It run ok under DOS servletrunner with localhost.
>
> Now I download the jdk1.2.1 and recompile. Th servlet program compiles fine.
> But when I run the program from HTML with jsdk2.0 and localhost I got
> ClassFormatError.
>
> Same error if I use jdk1.1.8 with jsdk2.0. Anyone has same error? How you
> solve it problem. Please let me know.
>
>
> Thank in advance
>
>
> java.lang.ClassFormatError
> at sun.servlet.ServletLoader.loadClass(ServletLoader.java:230)
> at sun.servlet.ServletLoader.loadServlet(ServletLoader.java:91)
> at sun.servlet.http.HttpServer.getServlet(HttpServer.java:326)
> at
> sun.servlet.http.HttpServerHandler.sendResponse(HttpServerHandler.jav
> a:152)
> at sun.servlet.http.HttpServerHandler.handleConnection(Compiled
> Code)
> at sun.servlet.http.HttpServerHandler.run(Compiled Code)
> at java.lang.Thread.run(Thread.java:466)
>
>
___________________________________________________________________________
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