MichaelBartolotta
Programmer
I can't seem to add my custom java object to a webpage. It should be rather simple, but it aint workin! The .class and the .htm are in the same directory.I tried ...
- classid="javaancer.class"
- codepage="all kinds of combinations"
All I get is "text incase it cant load"
===========
<html>
<head></head>
<script language=vbScript>
window.alert MyDancer.getLogonId()
</script>
<body>
<object id="MyDancer" classid="javaancer" codetype="application/java">
text incase it cant load
</object>
</body>
</html>
============
the Dancer.java compiles fine with the following relavant code....
private int logonId;
public int getLogonId() {
return logonId;
}
- classid="javaancer.class"
- codepage="all kinds of combinations"
All I get is "text incase it cant load"
===========
<html>
<head></head>
<script language=vbScript>
window.alert MyDancer.getLogonId()
</script>
<body>
<object id="MyDancer" classid="javaancer" codetype="application/java">
text incase it cant load
</object>
</body>
</html>
============
the Dancer.java compiles fine with the following relavant code....
private int logonId;
public int getLogonId() {
return logonId;
}