Hi,
I need to access Java object through an ASP page. I reckon that there
are two ways:
1) If the Java object is registered as a COM then access it through the
ProgID using CreateObject method.
2) Direct access to the java class through java moniker. I am trying to
do this ..but failed to get it working.
I created a class called Javatest and put it in the
Windows/java/TrustLib and also put it in the classpath.
In the ASP code..I did this,
<%
1. Dim strResult
2. set javaObject = GetObject("java:ClassName")
3. strResult = javaObject.SomeFunction()
4. set javaObject = nothing
%>
I keep getting the "No object for moniker" error.
I also tried registering the class with javareg and tried to access.
Still the same error. Any ideas...checks?
thanks,
den