CGI Tutor  CGI Tutor

go to home page Student Projects full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2009 Canadian Mind Products
This essay does not describe an existing computer program, just one that should exist. This essay is about a suggested student project in Java programming. This essay gives a rough overview of how it might work. I have no source, object, specifications, file layouts or anything else useful to implementing this project. Everything I have to say to help you with this project is written below. I am not prepared to help you implement it; I have too many other projects of my own.

I do contract work for a living, which could include writing a program such as this. However, I don’t do people’s homework for them. That just robs them of an education.

You have my full permission to implement this project in any way you please and to keep all the profits from your endeavor.

This is a very simple echoing tool to help you understand CGI messages. Instead of directing the data from a form to the standard CGI server, you direct it to one running the cgitutor.

It echoes it back in three forms:

  1. Raw, exactly as it arrived.
  2. Decoded, turning punctuation and control chars back to normal form.
  3. Parsed, into keyword="value" pairs.

The Center for the Study of Art and Technology National Institute of the Arts in Taiwan offers a debugging tool that provides the parsed format (3) only.

GET http://techart.nia.edu.tw/cgi-bin/query/
POST http://techart.nia.edu.tw/cgi-bin/post-query/
book cover recommend book⇒Core Web Programming, Second Edition
 paperback
ISBN13:978-0-13-089793-0impressioncounter
ISBN10:0-13-089793-0impressioncounter
publisher:Prentice Hall
published:2001-06-03
by:Marty Hall and Gary Cornell
1250 pages. This is a great doorstop of a book. It has a few chapters on client-server programming in Java, and a section of that is on CGI. I have looked at hundreds of Java books and found nothing that deals in depth with client side Java talking to CGI, except Marty’s book. It is really very simple and he does an excellent job of explaining it. Marty has posted all the source code examples from the book for anyone to use. These contain updates and errata fixes you don’t get on the CD-ROM that comes with the book.
UK flag abe books.co.uk abe books.ca Canadian flag
UK flag amazon.co.uk. amazon.ca. Canadian flag
German flag abe books.de chapters.indigo.ca. Canadian flag
German flag amazon.de. abe books.com American flag
French flag abe books.fr amazon.com. American flag
French flag amazon.fr. barnes and noble.com American flag
Italian flag abe books.it powells.com American flag
Spanish flag iberlibro.com abe books anz Australian flag

book cover recommend book⇒Core Servlets and Java Server Pages
 paperback
ISBN13:978-0-13-067614-6impressioncounter
ISBN10:0-13-067614-4impressioncounter
publisher:Pearson Education
published:2001-12-26
by:Marty Hall
Complete text of the book available on line in pdf format.
UK flag abe books.co.uk abe books.ca Canadian flag
UK flag amazon.co.uk. amazon.ca. Canadian flag
German flag abe books.de chapters.indigo.ca. Canadian flag
German flag amazon.de. abe books.com American flag
French flag abe books.fr amazon.com. American flag
French flag amazon.fr. barnes and noble.com American flag
Italian flag abe books.it powells.com American flag
Spanish flag iberlibro.com abe books anz Australian flag
explains how to do this. It is a very easy project. All you need is a server somewhere to run the code on.

You could turn this into a commercial project by showing ads along with the other info.


CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.58]
You are visitor number 5,735.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/project/cgitutor.html J:\mindprod\project\cgitutor.html