HI,

        I too, expecting answer to set init parameter for jswdk also!!!


        Regards,
        G Ramesh

---------- Forwarded message ----------
Date: Fri, 19 Nov 1999 13:57:01 -0500
From: Param Dasana <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: init parameter in web server configuration

Hi,

Iam using JWS 1.1.3 , JDK 1.1.8 & JSDK 2.1

Iam trying to execute a sample form processing servlet(downloaded from the
following site)
http://novocode.de/download/servlet-essentials-1.3.4.zip .

I want to know how to setup the value for the init parameter in web server
configuration.
The part of the code regarding the init parameter is:
        .....
public void init(ServletConfig config) throws ServletException
         12:    {
         13:      super.init(config);
         14:      filename = config.getInitParameter("addressfile");
         15:      if(filename == null)
         16:        throw new UnavailableException(this,
         17:                                       "The \"addressfile\"
property "+
         18:                                       "must be set to a file
name");

        ......

TIA,
Param.

___________________________________________________________________________
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