Home » jsp


Servlets JSP: Java Servlets and Java Server Pages

Java Servlets and Java Server Pages CGI Well first maybe I should explain a bit about the first actual web applications called CGI’s. CGI(Common Gateway Interface) is a protocol or language for formatting request and responses from an HTTP server to an HTTP client. A client would be any web browser typically. Initially, a web server would send a request in CGI format to standard output on the server, at the same time calling a program on the server to startup. This program can be written in any programming language which can get standard input and output to standard output (practically any language, and even shell scripts). So the server sends the request to standard output which is read as standard input by the program. It then processes the request and prepares a response which is ...