<%@language=jscript%>
<html>
<head>
<title>Accessing a .jar JavaBean</title>
</head>
<body>
<p align="right"> <big> <a href="default.html"> Go Back </a>
</big></p>
<p><big>Comment:</big> Reference the sunw.demo.buttons.ExplicitButton
in buttons.jar, and access its label property</p>
<br>
<%
var objinfo
objinfo =Server.CreateObject("buttons.jar","sunw.demo.buttons.ExplicitButton")
Response.Write ("<p> Default label is <big>" +
objinfo.label + " </big>")
objinfo.label = "Click me"
Response.Write( "<p> Modified label is <big>"
+ objinfo.label + " </big>")
%>
</body>
</html>
|