If you are invoking your servlet through /servlet  it will not pick up
the init-params from web.xml.

You need to invoke it through a proper mapping.

That's my best shot.  ;)

> -----Original Message-----
> From: Jing Huang [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 19, 2003 2:46 PM
> To: [EMAIL PROTECTED]
> Subject: web.xml init param
> 
> 
> Hi, I am new to Tomcat. This might be a very simple question 
> to the gurus here. Please help. I set initial parameters for 
> a servlet in web.xml. When I start the server and run the 
> servlet, the servlet can not get the initial parameters. It 
> seems that the web.xml was not accessed at all. Can you help? 
>  By the way, is there a place that documents how to configure 
> the web.xml and server.xml for different purposes?  
> 


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

Reply via email to