Product Home Page | Developer Site | Version | |
The following example gets a new tip from the Content.txt file in the /Tips/ virtual directory.
<%
Set NextTip = Server.CreateObject("MSWC.ContentRotator")
Tip = NextTip.ChooseContent("/MyApp/Tips/Content.txt")
Response.Write Tip
%>
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.