Journal for November 28, 2005

Compiled by Kimberly Barnaby

With your project, make sure the database is there

* Web based or virtual society

* Last time, we did a java program (page 711 book 2). Run at least the main program (the menu -page 714).

* Is it possible to make java script hooked to a file? Java script cannot be used as web server and does not support a file. You would store data by using an array.

* What is Apache Tomcat?

* Know how to run the program on page 714 (chapter 20 - book2) figure 20.39a

         main(){

             system.out.println("\t1-insert");

             system.out.println("\t2-display");

             system.out.println("\t3-search");

*\t = tab ; the numbers (1, 2, 3, etc) stands for input. Input type = button

* page 702 shows us the interface; it is an html form:

               <html>

                  <body bgcolor=ffdeaa>

                   <center>

                   <br><b>insert record to employee database</b><br><br>, etc.

 * f=alireza & f=ebrahimi & f=3658

fname = alireza

lname = ebrahimi

ID = 3658

CGI program is the same program written in C++ only it takes the line of input and takes out the parts that you don't need.

 

* Why don't you use space in a URL? It is easier for the programmer

* First CGI program is on pages 699 & 700. Why is it a CGI program (the programs are in C++ and HTML)?