Hi.
I'm trying to initialize an ORB into a JSP page, but it returns me a
java.lang.NullPointerException. The code is...
<%@page import="org.omg.CORBA.ORB"%>
<html>
<h1>Calling Corba Components from JSP</h1>
<body>
<%
java.util.Properties props = System.getProperties();
props.put("org.omg.CORBA.ORBClass", "com.ooc.CORBA.ORB");
props.put("org.omg.CORBA.ORBSingletonClass",
"com.ooc.CORBA.ORBSingleton");
ORB orb = ORB.init((String[]) null,props);
%>
</body>
</html>
What i doing wrong ????
Thnks.
Victor Cuervo
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets