Just add the variables in web.xml
something like ...
        <init-param>
            <param-name>name</param-name>
            <param-value>value</param-value>
        </init-param>

harish

----- Original Message -----
From: "Kumar Sameer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 13, 2002 3:11 PM
Subject: Tomcat : ServletConfig: Init variables : Where do i set then


> Hi !
>
> Can anyone please tell me where do i assign values to the init variables
> which i can access using 'ServletConfig' object in init() method. If i
pass
> the variable in url as '../servlet/testInit?variable=value' will this
> variable be accessed using ServletConfig object or is there some other
place
> where I store the variable ? The book i am referring to uses java web
server
> which seems to have a gui to set these values. Do Tomcat also have any gui
> or is there any config file for this purpose ?
>
> Thanking in anticipation
>
> Sameer
>
>
___________________________________________________________________________
> 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