The web.xml file is located in the /WEB-INF. Inside the <web-app> element
you can add multiple <context-param> elements. Each context parameter has a
name/value element nested inside. Like :

<web-app>
...
<context-param>

        <param-name>DomainName</param-name>

        <param-value>demo</param-value>

    </context-param>
...
</web-app>

You can access the context parameters using
ServletConfig.getServletContext().getInitParameter() inside your servlet.



-- 
Dov Rosenberg
Conviveon Corporation
http://www.conviveon.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to