What advantages do servlets have over CGI programs?
Answer Posted / guest
Servlets are written in Java and are platform-independent.
Servlets run under the JVM and may be secured using the Java
sandbox.
Servlets run as threads and may be preloaded to improve their
performance.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Difference between java beans & servlets?
Can you create a deadlock condition on a servlet?
What is meant by session? Tell me something about httpsession class?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What are the difference between session and cookies in servlet? Explain
What is servlet name in web xml?
What is URL Encoding?
What is servlet and its life cycle?
How do cookies work in servlets?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Can we use threads in Servlets?
What do you mean by httpservlet and how it is different from the genericservlet?
What are the advantages of cookies?
What is the purpose of inter-servlet communication?
Explain the difference between jsp and servlet?