can u provide us a snippet of code in this regard please.... #-----------------------------------------------------------------------# # # # "ARISE AWAKE and stop not till the GOAL is reached" # # # # [EMAIL PROTECTED] # #-----------------------------------------------------------------------# On Fri, 20 Aug 1999, Manu Tayal wrote: > 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 > ___________________________________________________________________________ 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
Re: Constructors in servlets?
Srinivasan S (Systems Engineering Group) Fri, 20 Aug 1999 08:16:40 -0700
- Constructors in servlets? Joona Palaste
- Re: Constructors in servlets... Manu Tayal
- Re: Constructors in serv... Srinivasan S (Systems Engineering Group)
- Re: Constructors in servlets... Joona Palaste
- Re: Constructors in serv... Milt Epstein
- Re: Constructors in servlets... Chris Gow
