Bala,
Your compiled superclass (myHttpServlet.class) must be on your compilier's
classpath so it can compile your subclasses. Also note that you must make sure
that your superclass is on your servlet server's classpath as well.
mark
Internet Mail Message
Received from host: mail.javasoft.com
[204.160.241.28]
Envelope Sender: [EMAIL PROTECTED]
From: "Balamurali A." <[EMAIL PROTECTED]> on 05/11/2000 04:25 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Mark Mascolino-MR/PGI)
Subject: [SERVLET-INTEREST] Superclass Not Found Error
Hi All,
I am extending the HttpServlet Class to write my own class called
myHttpServlet.java
then i extend this (myHttpServlet) servlet to write my other servlets.
So, this file (myHttpServlet.java) compiles without any error. but when i
complie other files which extends this class does not compile and throws me
an error saying that :
adduser.java:7: Superclass myHttpServlet of class adduser not found
public class adduser extends myHttpServlet.....
Please reply me
Thanx & Regards,
Bala
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail 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
___________________________________________________________________________
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