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 / ratna dinakar
Servlet is server side Java application, which accepts,
processes and sends Http requests. We use a servlet to bind
Http Request and Http Response to business logic, using
various callback methods provided by HttpServlet class.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is difference between get and post method?
What are the functions of the servlet container?
What are the different methods involved in generic servlet?
Write all the phases defined in servlet life cycle?
What is URL Encoding?
What are the differences between servlet context vs servlet config?
How native code can be used in a servlet?
Explain the differences between jsp and servlet.
Can you call a jsp from the servlet?
How to create war file?
What is the use of servlet wrapper classes?
Why are http servlets used in programming?
What is Request Dispatcher?