Re: javax.naming.NoInitialContextException in JDeveloper10g
Posted By:
ankush_purwar
Posted On:
Monday, January 23, 2006 07:35 PM
you have to pass some properties to initial context.
Properties p = new Properties();
You have to put some information in this properties.
see the constants defined by Context class in java
like provider_url, initialfactory etc..
And pass the same propery to initial context
Context ctx = new InitialContext(p)