I've had the same problem, I got around that by overriding the init()
function in the doGet() and doPost() method.

Maybe other pple can provide alternative ideas.

cheers,
tania

----- Original Message -----
From: SERVE 'EM - Dan Coggeshall <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 06, 1999 1:22 AM
Subject: Servlet Errors when a Constructor is present


> I am writing a servlet that runs fine, except when I write a constructor
> in the same class.
> I want to do this so that there is another entry point in my class.
> I've seen/heard it done before, but for some reason the returning HTML
> page says that no source (HTML source, I am hitting the servlet) was
> returned.  My service() isn't even using the constructor.  Any help?
>
> DanC
>
>
___________________________________________________________________________
> 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

Reply via email to