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
request parameter how to find whether a parameter exists in the request object?
Explain the difference between generic servlet and http servlet?
what is multiple server?
What is servletconfig?
Explain the difference between servletconfig and servletcontext in servlet?
Explain jsessionid and when is it created?
What do you mean by session tracking?
What is a servlet-to-servlet communcation?
Why doesn’t a servlet include main()? How does it work?
What are different ways for authentication of servlet?
How to upload a file to the server using servlet?
What are common tasks performed by Servlet Container?
What is the use of servlet context?
Differentiate between the get and post method
What is context in servlet?