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 main purpose of java servlets?
Should I override the service() method?
Name the packages that work with servlet?
What is the difference between context parameter and context attribute?
What is ServletConfig object?
Write a program to show the functionality of doget and dopost method?
What do you mean by singlethreadmodel interface?
What is called Scriptlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
Explain the steps involved in placing a servlet within a package?
What is life cycle of Servlet?
What are different methods of session management in servlets?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is the type of method for sending request from http server?
How the JSP file will be executed on the Server side?