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
What is the use of java servlet api?
What’s the use of the servlet wrapper classes??
What are the drawbacks of cgi?
What are different Authentication options available in Servlets.
Why do we need servlet filter?
What is SingleThreadModel interface?
Why is init() method is used in servlets?
Can you send an authentication error from a servlet?
What do you mean by request dispatcher in servlet?
How can you use a servlet to generate a plain text instead of html?
What exactly are the functions of servlet?
What are different ways for authentication of servlet?
How to get the path of servlet in the server?
Explain the concept of ssi ?
Why the container loads server at the application startup and how?