Hole in Tomcat 4.X allows the source code for JSPs to be viewed.
Check here for more details and solutions:
http://online.securityfocus.com/archive/1/292936/2002-09-22/2002-09-28/0
I am trying to get a JNDI Context for a EJB from within another EJB.
We used to do it like this:
Properties props = ctx.getEnvironment();
try {
Context ctx = new InitialContext(props);
EJBHome home = (EJBHome) ctx.lookup("EJBBean");
}
Unfortunately...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.