Ask Question

How are CGI programs different from Servlets?

+2
Answers (1)
  1. 26 May, 13:04
    0
    Both Java servlets and CGI are utilized for generating dynamic web statements that admit a user application, process it on the server side and deliver answers to the user.

    Servlets maintain various abilities that are challenging or difficult to achieve with conventional CGI. These abilities incorporate speaking directly to the network server, sending data within various servlets, assembly tracking and maintaining of premature calculations.

    Since servlets are composed in the Java programming dialect and develop a conventional API, so a servlet can be transferred from among web server. On the other hand, CGI programs may be principles subordinate, need to be recompiled or web server dependent.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “How are CGI programs different from Servlets? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers