Hi, >How do I get this value from within context in java program, thanks > ><Environment name="david" value="10" > type="java.lang.Integer" override="false"/>
Context c = new InitialContext(); Integer david = (Integer) c.lookup("java:comp/env/david"); >Could you please tell me how environment variables can be accessed without >JNDI? >Is there corresponding section in documentation? I meant system properties (which are accessed using System.getProperty). The Environment stuff posted by David above is in fact JNDI-based. Yoav 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]