You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Craig R. McClanahan" <Cr...@eng.sun.com> on 2001/02/02 18:28:24 UTC
Re: env-entry in Tomcat
Romen Law wrote:
> ello,
>
> How can I retrieve the <env-entry> values in the web.xml using JSP in
> Tomcat?
>
You can't for Tomcat 3.x. These values are only available when using a
servlet container that implements the J2EE APIs required to support them
-- in which case, these values are accessed via JNDI calls as outlined
in
the J2EE Specification. As an alternative, you might consider using
context initialization parameters instead.
NOTE: Tomcat 4.0-beta-1 supports a JNDI environment for accessing these
values that is compatible with J2EE standards.
>
> cheers
> romen
>
Craig McClanahan