ASP Source Code
ASP File: jscript/general/createobj/jarbean.asp
ASP Script
Comments
HTML and Text
<%@language=jscript%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Developer Studio">
<title>Document Title</title>
</head>
<body>
<p align="right"> <big> <a href="default.html"> Go Back </a> </big></p>
<p><big>Comment:</big> Reference to 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> Modifid label is <big>" + objinfo.label + " </big>")
%>
</body>
</html>