This content has been marked as final.
Show 2 replies
-
1. Re: newbie please help: using the right name?
jaikiran Oct 5, 2006 6:43 AM (in response to bezdomny)Change this:
ctx = (Context) new InitialContext().lookup("java:comp/env"); Object objref = ctx.lookup("java:/AppMail");
to:Context ctx = new InitialContext(); Object objref = ctx.lookup("java:/AppMail");
-
2. Re: newbie please help: using the right name?
bezdomny Oct 5, 2006 10:49 AM (in response to bezdomny)Thanks! I got to it eventually the same way.
B