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


Please Help Members By Posting Answers For Below Questions

What is the need of servlet filters?

538


What is new in ServletRequest interface ? (Servlet 2.4)

570


What is servlet in web technology?

573


What is the life-cycle of servlets?

629


What is servlet configuration?

522






what is servlet chaining?

621


How can we include static files in the jsp page?

605


Why the container loads server at the application startup and how?

579


What is preinitialization of a servlet?

578


request parameter how to find whether a parameter exists in the request object?

566


Why is init() method is used in servlets?

552


What is the workflow of a servlet?

717


What are important features of Servlet 3?

590


Describe in brief RequestDespatcher?

592


What is the functionality of actionservlet and requestprocessor?

592