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 / jitendra
yes correct.And the answer should also include that because
servlet has some methods that are inherited from super class
like...init,destroy and many more that are used to handle
the request.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why doesn’t a servlet include main()? How does it work?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is pure servlet?
What is webservlet?
What are the annotations used in servlet 3?
What is servlet used for?
What is cookie in servlet?
What is servlet initializer?
What is the use of servlet wrapper classes?
Write a program to show the functionality of doget and dopost method?
Define the servlet mapping.
Explain url encoding?
What are the functions of an intercepting filter?
What do you mean by a filter and how does it work?
Explain mvc pattern.