<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 Bean sunw.demo.buttons.DemoCreateObject in buttons.jar with parameters, and access its properties and Methods </p> <br> <% Set objinfo =Server.CreateObject("buttons.jar","sunw.demo.buttons.DemoCreateObject","ZhangHua","China",22,3456.456)
Response.Write "<p> Default proerties is : <big>" response.write "<p> Name = " + objinfo.name response.write "<p> Address = " + objinfo.address response.write "<p> Age = " + cstr(objinfo.age) response.write "<p> Salary = " + cstr(objinfo.salary) + " </big>" %> <p> Invoke its repeatmessage method, the result is : </p> <p> <big> <%= objinfo.repeatmessage(8) %> </big></p>