Answer Posted / dheeraj singh
CGI scrpit is a program that takes data from standard input,
performs some logic and send data to standard output.
The problem with CGI script is that your server must
restart the CGI scritpt everytime a new request is
issued.This means everytime a client communicates,your
server needs to begin a new process.Starting and stopping
processess are expensive operations.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between servlet and filter?
Can servlet have a constructor ?
Who is responsible to create the object of servlet?
How can you use a servlet to generate a plain text instead of html?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What is session tracking?
When Servlet is unloaded?
Why is init() method is used in servlets?
How to notify an object in session when session is invalidated or timed-out?
Explain the difference between servlet and cgi?
How would you create deadlock on your servlet?
What do you mean by servlet context?
What are all the ways for session tracking?
How can we refresh automatically when new data has entered the database?
How to handle exceptions thrown by application with another servlet?