This is not really a Struts question and as such the subject should be
prepended with [OT].

That being said, that particular line of code is retrieving the /env
context.

The javadocs are pretty good at explaining what a Context is and how it is
used.


http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/Context.html


robert
  -----Original Message-----
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, June 08, 2004 2:38 PM
  To: [EMAIL PROTECTED]
  Subject: wahtd does it means ? envCtx = (Context)
initCtx.lookup("java:comp/env");



  can any onetell me what  does  "java:comp/env" mean in following ???

               envCtx = (Context) initCtx.lookup("java:comp/env");





  Birendar Singh Waldiya
  Tata Consultancy Services
  Mailto: [EMAIL PROTECTED]
  Website: http://www.tcs.com

Reply via email to