Hi,

> -----Original Message-----
> From: Dominik Jednoralski [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 10, 2002 6:50 PM
> To: [EMAIL PROTECTED]
> Subject: Error reading init-params
> 
> 
> Hey Guys,
> 
> I have a problem with getting my init-params from the web.xml-file. I'm
> using
> Tomcat 4, and these are the parameters I inserted into the
> webapps/root/web-inf/web.xml-file:
> 
> <web-app>
>   <servlet>
>     <servlet-name>ShowMsg</servlet-name>
>     <servlet-class>limeservlets.ShowMessage</servlet-class>
>     <init-param>
>       <param-name>message</param-name>
>       <param-value>Nerv-Serv</param-value>
>     </init-param>
>     <init-param>
>       <param-name>repeats</param-name>
>       <param-value>5</param-value>
>     </init-param>
>   </servlet>
> </web-app>
> 
> Now I failed to read these parameters with the follwing servlet:
> 
> 
> Does anyone know the reason for that? I for myself don't have a clue- I'm
> not really into configuring servers...
> 

You know, it works for me. Did you map your servlet. I believe it wouldn't
work with invoker.

> Dominik Jednoralski
> 

Anton

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to