how to put my variables in web.xml.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   arun_taman
Posted On:   Monday, June 7, 2004 08:37 PM

Re: how to put my variables in web.xml.

Posted By:   arun_taman  
Posted On:   Tuesday, June 8, 2004 12:54 AM



I got this, in web.xml add env variable like this

name
tomcat
java.lang.String



and in web component call this env variable like this

InitialContext context = new InitialContext();
String binddn = (String) context.lookup("java:comp/env/name");
About | Sitemap | Contact