What advantages do servlets have over CGI programs?
Answer Posted / ravikiran
cgi makes use of multiprocessing.Means each and every
request is processed by an individual process.where as
servlets make use of multithreading.A single process with
multiple threads to accomplish the particular task
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
How to find whether a parameter exists in the request object?
How many objects of a servlet is created?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
What is the need of session tracking in web application?
What is the workflow of a servlet?
How to get the current httpsession object?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
Can servlet have a constructor ?
How do you communicate in between Applets and Servlets?
Can we refresh servlet in client and server side automatically?
What is difference between server and servlet?
Explain the role of dispatcherservlet and contextloaderlistener.
What's the advantages using servlets than using cgi?
Why do we have servlet wrapper classes?
If a servlet is not properly initialized, what exception may be thrown?