Ver Mensaje Individual
  #27 (permalink)  
Antiguo 25/01/2005, 09:52
Avatar de hugo777
hugo777
 
Fecha de Ingreso: enero-2002
Ubicación: Lima, Perú
Mensajes: 757
Antigüedad: 22 años, 3 meses
Puntos: 1
HOla, debería funcionar algo así:

Código PHP:
Context initCtx = new InitialContext();
Context envCtx = (ContextinitCtx.lookup("java:comp/env");
String name = (String)envCtx.lookup("var1"); 
__________________
Saludos,

H@C..