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
Tell us something about servletconfig interface.
What is the difference between 2 types of servlets?
Whether we can get deadlock situation in servlets?
Why do we need servlet filter?
What is called Session Tracking?
What are the different session tracking techniques?
Can we use the constructor, instead of init(), to initialize servlet?
Can we get PrintWriter and ServletOutputStream both in a servlet?
What is the procedure of invoking different servlet in a different application?
When servlet is loaded?
How is an application exception handling is done using a servlet?
Why the container loads server at the application startup and how?
How do cookies work in servlets?
What is servlet collaboration?
What is the difference between forward () and sendredirect () functions in servlet? Explain