VBScript Sample: vbscript/general/createobj/jarbean.asp
   ASP Script
   Comments or Client-side Script
   HTML and Text

<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>
<%
   Set 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>


Copyright © 1998-2002, Halcyon Software Inc. All rights reserved.