Hi Joona,
        You can have constructors but those constructors cannot have arguments.
        You can instead use the init() method as a substitute for constructor
        with argument.

Manu.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  MANU TAYAL                   |      WIPRO INFOTECH                     #
#                               |      30,Mission Road, 1st Main,         #
#  Software Engineer            |      S.R.Nagar,                         #
#                               |      Bangalore-560027,India.            #
#  Technology Solutions         |                                         #
#                               |      TEL: 080-2241730/2275590           #
#  WIPRO INFOTECH.              |      EXT: 3322,3321,3323                #
#                               |   E-Mail: [EMAIL PROTECTED]       #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

On Fri, 20 Aug 1999, Joona Palaste wrote:

> I tried writing a servlet with an extra constructor, that takes a String
> argument. This servlet compiled, but servletrunner failed to run it. Doesn't
> JSDK 2.0 allow servlets to have any other constructors than the implicit
> default
> constructor?
> For the record, I'm using Windows NT 4.0 with JDK 1.1.8 and JSDK 2.0.
>
> Joona Palaste
>
> ___________________________________________________________________________
> 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