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
Explain how does JSP handle run-time exceptions?
When jsessionid is created?
What is the difference between portlet and servlet?
Why jsp is better than servlet?
Why is http protocol called as a stateless protocol?
What is the need of session tracking in web application?
What are some advantages of storing session state in cookies?
What is session tracking?
What are different Authentication options available in Servlets.
Write a command to get actual path of a servlet to the server?
Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?
Explain the servlet context.
What is servlet and its types?
What are the kinds of http requests?
How to notify an object in session when session is invalidated or timed-out?