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
How can you use a servlet to generate a plain text instead of html?
What are the functions of the servlet container?
What is called Scriptlet?
Which is the methods of generated servlet?
What is the servlet?
explain the advantages of servlet life cycle?
What is the difference between the include() and forward() methods?
What do you mean by chaining in servlet?
Can we override servlet service method?
What are the life-cycle methods for a servlet?
What are the uses of servlet and what is servlet chaining?
How do you invoke a servelt?
Is it possible to have a constructor inside the servlet?
Explain url encoding?
Explain servlet events?