Howdy,

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

Umm, no ;)  If the invoker servlet is enabled then the init-param
behavior is the same whether you use a servlet mapping or the invoker
servlet.

>> 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?

Chances are your web.xml is malformed and you have some errors in the
tomcat logs.  What do the tomcat logs say?

>>  By the way, is there a place that documents how to configure
>> the web.xml and server.xml for different purposes?

Yes.  For web.xml, the document is called The Servlet Specification, and
you want version 2.3.  For server.xml, look here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to