Home | History | Annotate | Download | only in evolve
      1 package sample.evolve;
      2 
      3 import java.io.*;
      4 import java.util.*;
      5 
      6 /**
      7  * Updatable class.  DemoServer instantiates this class and calls
      8  * show() on the created object.
      9  */
     10 
     11 public class WebPage {
     12     public void show(OutputStreamWriter out) throws IOException {
     13 	Calendar c = new GregorianCalendar();
     14 	out.write(c.getTime().toString());
     15 	out.write("<P><A HREF=\"demo.html\">Return to the home page.</A>");
     16     }
     17 }
     18