Mahesh Acharya wrote:
>
> Hi,
>
> How can we set init parameter in the web server configuration ?
>
> Basically, I want to get the values something like this, in the init
> method of the servlet
>
> String filename ;
> public void init(ServletConfig config) throws ServletException
> {
>      super.init(config);
>      filename = config.getInitParameter("addressfile");
> .......
depends on the servlet engine you use. In the case of mod_jserv (apache)
you would set these in the zone.properties file. In the case of tomcat
there is some xml file to set those options

--
Sven E. van 't Veer, llm.
Departamento de Desenvolvimento
Brasil Informatica.
http://www.brvip.com.br

___________________________________________________________________________
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