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
Why do you use session tracking in httpservlet?
What is the difference between Server and Container?
How forward () method is different from send redirect () method?
How do we go with database connection and log4j integration in servlet?
What is servlet mapping?
How servlets are deployed in java?
What is ServletConfig object?
What is called Session Tracking?
request parameter how to find whether a parameter exists in the request object?
What do you mean by servlet context?
What is session?
Difference between GET and POST?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What is the major difference between servlet and applet?
Define the lifecycle for executing a jsp page.