Hi friends, am newbie to servlet. My interviewer asked why
used servlet in your application.
i used servlet for controller logic and business logic .
is it correct ?
Answer Posted / ratna dinakar
Servlet is server side Java application, which accepts,
processes and sends Http requests. We use a servlet to bind
Http Request and Http Response to business logic, using
various callback methods provided by HttpServlet class.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the web server used for running the Servlets?
How do you deal property files in servlet?
What are the life cycle methods of the servlet?
Why the concept of single thread model interface is used?
How servlets are deployed in java?
What do you mean by httpservlet?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is java servlet session?
Explain the difference between a web server and a web container?
What are the phases of the servlet life cycle?
What is servlet interface?
What is servlet and its types?
How do you configure a centralized error handler in servlets?
What is the difference between the servlets and cgi programs?
What's the difference between authentication and authorization?