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 servlet used for?
Define declaration.
What are the difference between session and cookies in servlet? Explain
Can servlet have a constructor ?
What is api in servlet?
Why doesn’t a servlet include main()? How does it work?
What is the default http method in the servlet?
How can you run a servlet program?
What is servlet mapping?
What is a servlet-to-servlet communcation?
What is called a session?
Servlet is pure java object or not?
How do we translate jsp?
How do you invoke a Servlet? What is the difference between doPost method and doGet method?
How can I send user authentication information while making URL Connection?