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
How can we refresh automatically when new data is entered into the database?
Is it good idea to create servlet constructor?
What is the difference between the include() and forward() methods?
Is java servlet still used?
Explain session tracking and its importance?
how the HTML data stored in web server?
Can we use threads in Servlets?
how many jsp scripting elements are there and what are those?
Can you use javascript in servlets?
How do servlets work?
What do you mean by session tracking?
What are its drawbacks of cgi?
Tell us something about servletcontext interface.
What is meant by Servlet? What are the parameters of service method?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?