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 are the type of protocols used in httpservlet?
What is MIME Type?
Difference between doget and dopost?
What are different methods of session management in servlets?
What is a web container and what is its responsibility?
What is cookie? Why is cookie used?
How is the get () method different from the post() method?
What is the use of java servlet api?
Explain request dispatcher and its methods.
What are the jobs performed by servlets?
What must be implemented by all servlets?
Who is responsible for writing a constructor?
What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
What is servlet in simple terms?