9.3. Common Gateway Interface (CGI)
The Common Gateway Interface (CGI) is an interface that allows HTTP clients, such as Web browsers and other user agents, to pass information back to a server for processing. CGI took the Web from static pages written by a Web master to interactive sites generated on the fly, in response to interactions with a user. When you use a search engine, buy a book at an online store, or read a customized newspaper tailored to your interests, your browser is using CGI to communicate with a server-side application.
Earlier, we briefly discussed the POST method, which is used by HTTP clients to send information. The GET method may also be used to transmit information, although there are limitations on the length of data ...
Get Java™ Network Programming and Distributed Computing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.