sarup

What is difference between servlet and CGI?

I want to clarify the difference of servlet with CGI
Add a comment
0%

4 replies

pahal
CGI is process oriented while servlet is thread oriented.
Add a comment
sadia
Java servlets are optimized as they creat threads not process to handle each user request as is in CGI.
Add a comment