CGI Tutor CGI Tutor
home Student Projects no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
This essay is about a suggested student project in Java programming. This essay gives a rough overview of how it might work. It does not describe an actual complete program. 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 any way you please.

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
ISBN10:0-13-089793-0
ISBN13:978-0-13-089793-0
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.
Canadian flag amazon.ca. amazon.com. American flag
Canadian flag chapters.indigo.ca . powells.com American flag
French flag amazon.fr. barnesandnoble.com American flag
German flag amazon.de. amazon.co.uk. UK flag
book_cover recommend book⇒Core Servlets and Java Server Pages
 paperback
ISBN10:0-13-067614-4
ISBN13:978-0-13-067614-6
publisher:Pearson Education
published:2001-12-26
by:Marty Hall
Complete text of the book available on line in pdf format.
Canadian flag amazon.ca. amazon.com. American flag
Canadian flag chapters.indigo.ca . powells.com American flag
French flag amazon.fr. barnesandnoble.com American flag
German flag amazon.de. amazon.co.uk. UK 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.18] The information on this page is for non-military use only.
You are visitor number 4,011. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/project/cgitutor.html J:\mindprod\project\cgitutor.html