How to use java class object in ASP.NET?
From: cartooncat (cljns_at_sina.com)
Date: 07/13/04
- Next message: Chris: "WebClient.DownloadFile creates an error ??"
- Previous message: Lars Netzel: "Re: Events involved with Checkbox in datagrid?"
- Next in thread: Patrice: "Re: How to use java class object in ASP.NET?"
- Reply: Patrice: "Re: How to use java class object in ASP.NET?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 13 Jul 2004 19:11:49 +0800
I have to translate an ASP project to ASP.NET, in the former project, a java
class object was used by VBScript:
Set Obj = Server.CreateObject("ccb.pub.RSAsig")
Obj.generateKeys()
Obj.getPrivateKey()
Obj.getPublicKey()
the object "ccb.pub.RSAsig" is a java class object registered by
javareg.exe, and
generateKeys(), getPrivateKey(), getPublicKey() is its methods.
In the ASP.NET, I create the object(C# language):
object Obj;
Obj = Server.CreateObject("ccb.pub.RSAsig");
Obj.generateKeys();
Obj.getPrivateKey();
Obj.getPublicKey();
then compile error: object Obj not include the method generateKeys(),
getPrivateKey() and getPublicKey().
I'm so confused, waiting for help......
- Next message: Chris: "WebClient.DownloadFile creates an error ??"
- Previous message: Lars Netzel: "Re: Events involved with Checkbox in datagrid?"
- Next in thread: Patrice: "Re: How to use java class object in ASP.NET?"
- Reply: Patrice: "Re: How to use java class object in ASP.NET?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|