Hy,
I think your forgot the <init-param>-tag....

Greethings, Thomas

        <servlet>
                <servlet-name>
                        xxx
                </servlet-name>
                <servlet-class>
                        yyy
                </servlet-class>
                <init-param>
                        <param-name>key</param-name>
                        <param-value>value</param-value>
                </init-param>

        </servlet>

-----Original Message-----
From: bilal sulehri [mailto:[EMAIL PROTECTED]
Sent: Samstag, 7. Juni 2003 17:41
To: [EMAIL PROTECTED]
Subject: having problem with getInitParameter()


Hi, I m having problem with the the get InitParameter method of 
ServletConfig class,
I m adding tags as following in both tomcat_home/conf/web.xml and 
/tomcat_home/webapps/ROOT/web-inf/web.xml but it's not working

<servlet>
  ...
  ...
  <param-name>pname</param-name>
  <param-value>pvalue</param-value>
</servlet>

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


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


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

Reply via email to