home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 March / PCWK0397.iso / novell / webserv3 / docs / tools / java / counter / counter.ssi < prev   
Text File  |  1996-12-20  |  969b  |  21 lines

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Sample Java Counter Applet</TITLE>
  4. </HEAD>
  5. <BODY BGCOLOR=WHITE>
  6. <CENTER><H1>Sample Java Counter Applet</H1></CENTER>
  7. <p>Note: If this applet isn't working it is probably because you need to rename Counter.cla to Counter.class and Counter.jav to Counter.java.  This is because the compression utility used to "zip" up this toolkit doesn't handle long file names.</p>
  8. <P>This Java Applet takes a number as a parameter and displays that number graphically.
  9. It can work with the NetWare Web Server's extended Server-Side Includes #COUNT command 
  10. by embedding the #COUNT in the parameter passed to the Java applet.</P>
  11. <P>For example, notice this hit counter</P>
  12. <APPLET CODE="Counter.class" WIDTH=50 HEIGHT=20>
  13.   <PARAM NAME="count" VALUE="<!--#COUNT FILE=COUNTER.CNT -->">
  14.   <PARAM NAME="bgcolor" VALUE="blue">
  15.   <PARAM NAME="fontcolor" VALUE="yellow">
  16. </APPLET>
  17. Source is <A HREF="Counter.java">Counter.java</a>.
  18. </BODY>
  19. </HTML>
  20.  
  21.