Difference between JSP and CGI programming?

1 answer

Answer

1247958

2026-04-29 04:45

+ Follow

Java
Java

JSP stands for Java SERVER PAGES, where as CGI stands for COMMON GATEWAY INTERFACE.

In CGI, whenever a multiple requests of the same dynamic web page is made by the client to the server, a new process is cerated of the corrosponding CGI program, for each an every request generated as such..

this is not the case in JSP..

in JSP, when the first request is made for a dynamic web page..its corrosponding class file an hence the servlet is then cached in the memorey, and hence new threads are generated for the futher requests made, saving resources..

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.