CGI and Java Scripts are both functional with both Netscape and Internet
Explorer browsers. But there is an essential difference between the two.
Java functions as a code executed and downloaded in the clients' side
while CGI operates with the server. Before probing deeper into the
difference of the two, let us first try to understand these two often-used
scripts.
Java Script requires no special plug-ins, and it works transparently
within an H...
Read full article at
http://www.knowledgefield.com/articles/of-cgi-and-java-scripts.shtml