what is cgi programming

后端 未结 6 1073
礼貌的吻别
礼貌的吻别 2021-02-05 06:16

What is exactly meant by CGI programming . If I am writing a cgi program in \'C\' ,

in that context , what does the \'cgi\' mean ?

Is the servelt environment is

6条回答
  •  执念已碎
    2021-02-05 07:09

    No, the servlet environment is not an abstraction from it. Servlets are loaded into the JVM when they are first requested and are instantiated/executed/deallocated like any other Java object. The CGI process has the web server invoke an external program (Perl/Ruby/Python interpreter or a C-based CGI app), it runs and then exits completely.

提交回复
热议问题