I can access my parameters if I put them in this
format.

<Context ....> <Parameter ... /></Contect>

But if I use this format, which what I really want, I
can not access them using getInitParameter(name)

<servlet>
    <servlet-name>testbed</servlet-name>
    <jsp-file>Mail/testbed.jsp</jsp-file>
    <init-param>
      <param-name>protocol</param-name>
      <param-value>imap</param-value>
    </init-param>
    <init-param>
      <param-name>mbox</param-name>
      <param-value>Inbox</param-value>
    </init-param>
    <init-param>
     <init-param>
      <param-name>host</param-name>
      <param-value>localhost</param-value>
    </init-param>    
  </servlet>

What am I doing wrong! I am using tc4.

__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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

Reply via email to