Howdy,
Read the Servlet Specification, v2.3, the accompanying JavaDocs.  They
define everything that can go in web.xml in detail.  For env-entry
specifically, you will also want to read the tomcat JNDI how-to that's
part of the documentation.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, March 28, 2003 4:46 AM
>To: 'Tomcat Users List'
>Subject: Possible values in web.xml - Reference??
>
>Hi there,
>
>Is there any reference available with samples what can be stored in
>web.xml and how to access the property?
>In the examples context I found the following entries in web.xml:
>
>    <env-entry>
>      <env-entry-name>name3</env-entry-name>
>      <env-entry-value>1</env-entry-value>
>      <env-entry-type>java.lang.Integer</env-entry-type>
>    </env-entry>
>
>How can I access these values? Are these accessible using
>servletcontext.getInitParameter("name3")? Is it getting casted to
Integer
>automatically?
>
>It would be quite cool to have a reference of all the possible
>configurations in web.xml and how to access them in Java!
>
>thx alot
>Johannes



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