If you are wanting to display HTML pages generated by your servlet, extend
from javax.servlet.http.HttpServlet and not javax.servlet.Servlet.  The
HttpServlet handles all the HTTP stuff for you.  Also, overide the doGet or
doPost methods instead of service.

There is also a tutorial on servlets here::
http://java.sun.com/docs/books/tutorial/servlets/index.html

it should be enough to get you started with Servlets

Good luck

Chris Gow
[EMAIL PROTECTED]

> -----Original Message-----
> From: Wilson Edo. Toledp [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, August 11, 1999 12:48 PM
> To:   [EMAIL PROTECTED]
> Subject:      Question
>
> I'm developing a servlet implementing Interface Servlet. I move the
> servlet to the default servlet directory for the JWS. I'm using the Java
> Web Server Management panel  to install the servlet . I activate the
> servlet from my browser but nothing.
> I try load it from JWS and it say "can't to find class name pservlet".
> Thank you

___________________________________________________________________________
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