You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
429 B

package sample.evolve;
import java.io.*;
import java.util.*;
/**
* Updatable class. DemoServer instantiates this class and calls
* show() on the created object.
*/
public class WebPage {
public void show(OutputStreamWriter out) throws IOException {
Calendar c = new GregorianCalendar();
out.write(c.getTime().toString());
out.write("<P><A HREF=\"demo.html\">Return to the home page.</A>");
}
}