what is the advantage of using Servlets over CGI programming?
Answer Posted / ravat
There is only one main difference between CGI and Servlet that CGI is not that much efficient as servlets ,because Wen each time request cames to CGI it ll start from first i.e loading,instantiation and ll consume more time but in the case of Servlet only once server is loaded and instance is created and it is reused to other request and wenever the new request cames just it ll make use of same object
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is ServletConfig object?
What is getservletcontext?
Explain the architechure of a servlet?
Write a program to show the functionality of servlets.
What is the
What methods do you use in servlet - applet communication?
How can you create a session in servlet?
What is the process to implement doget and dopost methods?
how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file
How can you push data from an Applet to a Servlet?
Why is servlet used?
What is difference between PrintWriter and ServletOutputStream?
List out difference between a JavaBean from a Servlet?
What are the exceptions thrown by servlets? Why?
What is Request Dispatcher?