public class helloWorld
// Dilip Barman  October 6, 1997
// This is my first java program!
// The file name is the same as the class name, followed by .java ...
// so this is file helloWorld.java
// This returns an HTML page.  First compile the program (javac helloWorld.java)
// to get helloWorld.class.  If we ran this from a command line, we would then
// execute the program (java helloWorld).  
{

  // Instance and class variable definitions would go here
  
  // Method definitions follow - we just have one, main()
  public static void main(String args[])
    {

      System.out.println ("200 OK\n");    // HTML Status - all OK
    System.out.println ("Content-Type: text/html \n\n");
    System.out.println ("<html><title>Dilip's 'Hello, World!' java Program</title><h1>Dilip's Hello World program</h1>");

    System.out.println ("<p><em>");
    System.out.println ("Hello, World!\n");
    System.out.println ("</em>");

    System.out.println ("\n<P>The "); 
    System.out.println ("<a href=\"http://www.cs.unc.edu/Courses/wwwp-f97/members/barman/java/helloWorld.java\">");
    System.out.println ("java source code</a> is available.");

    } // end main()

}  // end class definition

