A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
difference between env-entry and context init parameter
Joined: May 06, 2005
Mar 27, 2006 00:57:00
I want to know the difference between env-entry tag and context init parameter tag
mentioned in the web.xml.As both the tags are used to pass the variables to the
Joined: Nov 24, 2005
Mar 27, 2006 01:13:00
The env-entry element is used to get some resource via JNDI.
From the spec:
The name is a JNDI name relative to the
The name must be unique within a web application.
On the other hand, the value you define in context init can be used directly to retrieve a defined value.
All roads lead to JavaRanch
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: difference between env-entry and context init parameter
tomcat JNDI bug????
Question on ServletContext
Accessing parameter from web.xml inside a MessageResource class
context init parameters
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014