+ 2

Difference between servlet & CGI(common gateway interface)

write at least 3 points

6th Sep 2018, 4:01 PM
Chaudhary Imran Sohrab
Chaudhary Imran Sohrab - avatar
1 Answer
+ 4
CGI is used to provide dynamic content to the user.its used to execute a program in the server to process data or access databases to produce the relevant dynamic content CGI programs are used to execute programs written inside the native language. But in Servlet all the programs are compiled into the Java bytecode which is then run in the Java virtual machine.
6th Sep 2018, 4:12 PM
Kshitij Shukla
Kshitij Shukla - avatar