+ 2
Difference between servlet & CGI(common gateway interface)
write at least 3 points
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.