Google News
logo
Java Servlets - Interview Questions
What is CGI and what are its drawbacks?
CGI stands for Common Gateway Interface which is a set of codes written on the server-side that is used to interact through the Web Server with a client running on a web server.
 
It takes the incoming request and for every new request, it starts a new process.
 
Drawbacks of Common Gateway Interface :
 
* As it creates a new process for every incoming request, if the number of incoming requests are more then the response generated will be very slow, which in turn reduces the efficiency.

* CGI is platform dependent.
Advertisement