Hi,
I wrote an LdapApplet which can work properly. Then I want to be able to call it from webpage. For the moment, here's the code I use:
<html>
<head>
<script type="text/javascript">
function runApplet(string){
var telephoneNumber;
var alias = string;
telephoneNumber = document.LdapApplet.search("alias=jbeltran");
return telephoneNumber;
}
</script>
</head>
<body>
<applet code="HtmlLdapApplet.class" name="LdapApplet" width=320 height=220></applet>
<script type="text/javascript">
var phoneNo = runApplet("alias=jbeltran");
document.location.href = "viewLdap2.html?pn="+ phoneNo
</script>
</body>
</html>
and it doesnt work by informing the fault: NoClassDefFoundError
I think it's because IE doesnt support LDAP classes yet. I found an ebook saying that: we must creat a CAB file. I tried it but it didnt work.
Could anybody help me to figure out what I have to do to make my LdapApplet running on the webpage, please?
Thanks a lot for reading this message,
have a nice day
I wrote an LdapApplet which can work properly. Then I want to be able to call it from webpage. For the moment, here's the code I use:
<html>
<head>
<script type="text/javascript">
function runApplet(string){
var telephoneNumber;
var alias = string;
telephoneNumber = document.LdapApplet.search("alias=jbeltran");
return telephoneNumber;
}
</script>
</head>
<body>
<applet code="HtmlLdapApplet.class" name="LdapApplet" width=320 height=220></applet>
<script type="text/javascript">
var phoneNo = runApplet("alias=jbeltran");
document.location.href = "viewLdap2.html?pn="+ phoneNo
</script>
</body>
</html>
and it doesnt work by informing the fault: NoClassDefFoundError
I think it's because IE doesnt support LDAP classes yet. I found an ebook saying that: we must creat a CAB file. I tried it but it didnt work.
Could anybody help me to figure out what I have to do to make my LdapApplet running on the webpage, please?
Thanks a lot for reading this message,
have a nice day