Hi,

since most Servers have servlet examples wich needs init values too,
there have to be a file "servlet.properties" somewhere in the server dir
try search. For JavaWebServer2.0 it's under the server_root/properties
dir

/*************************/
 Thomas Schuchert
 Cyberconsult
 Beratungsgesellschaft f�r Neue Medien mbH
 [EMAIL PROTECTED]
 030 - 39 99 05 46
/*************************/


> -----Urspr�ngliche Nachricht-----
> Von:  Francis Ip [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Dienstag, 25. April 2000 22:20
> An:   [EMAIL PROTECTED]
> Betreff:      Re: ServletConfig
>
> Even though I have not used the ServletExec, I guess the
> servlet.properties file
> must be put into some config directory of the servlet runner/web
> server ... What
> web server are you using?
>
>
> Steve Buonincontri wrote:
>
> > Thanks - This is what I want to do - but it is not working. I put
> the
> > servlet.properties file in the servlet directory
> > C:\InetPub\ServletExec...\Servlets
> >
> > - sb
> >
> > Sandeep Malhotra <[EMAIL PROTECTED]> on 04/25/2000
> 03:01:21 PM
> >
> > Please respond to "A mailing list for discussion about Sun
> Microsystem's Java
> >       Servlet API Technology." <[EMAIL PROTECTED]>
> >
> > To:   [EMAIL PROTECTED]
> > cc:    (bcc: Steve Buonincontri)
> >
> > Subject:  Re: ServletConfig
> >
> > If you are worried about the ServletConfig argument that is being
> passed to
> > the init method of the Servlet...then relax as you don't have to do
> that.
> > It's the responsibility of Servlet Container to initialize the
> Servlet with
> > appropriate parameters.
> > However, if you want to pass configuration parameter to the servlet
> (for
> > example, database driver, server name etc.), then you would have to
> provide
> > parameters in the servlet.properties file.
> > -HTH
> >
> > ----- Original Message -----
> > From: Steve Buonincontri <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, April 25, 2000 1:56 PM
> > Subject: ServletConfig
> >
> > > Hi folks,
> > >
> > > How do you load the config data using ServletConfig?
> > >
> > > do you put a "servlet.properties" file in the ../Servlets
> directory and
> > and call
> > > "init(ServletConfig config)" in a servlet?
> > >
> > > I am using ServletExec2.2 and I do not know what file to put
> where?
> > >
> > > - steveb
> > >
> > >
> >
> ______________________________________________________________________
> _____
> > > 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
>
> --
> Francis Ip
>
> ______________________________________________________________________
> _____
> 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