You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zsolt Horvath <ho...@mail.tiszanet.hu> on 2001/08/17 14:09:33 UTC

web.xml

Hi !
How can I set more than 1 context-parameter in the WEB.XML file. I do this:
    <context-param>
      <param-name>serverIp</param-name>
      <param-value>192.168.2.3</param-value>
      <description>MT web application</description>
      <param-name>jobType_1</param-name>
      <param-value>01.</param-value>
      <description>MT web application</description>
    </context-param>
, but when I ask this parameter's value's in JSP I get NULL ! If I use only
one context-parameter no problem....

Anybody can help me?


Re: web.xml

Posted by Dmitri Colebatch <di...@bigpond.net.au>.
try

     <context-param>
       <param-name>serverIp</param-name>
       <param-value>192.168.2.3</param-value>
       <description>MT web application</description>
     </context-param>
     <context-param>
       <param-name>jobType_1</param-name>
       <param-value>01.</param-value>
       <description>MT web application</description>
     </context-param>

instead.

cheesr
dim