Hi Frieds, I am new to servlet why to use servlet in
webapplication. what i know is " use servlet as a
controller in mvc and to implemnent business logic . is it
correct ? One more thing reason for implementing business
logic with servlets , why not jsp.
Answer Posted / syed
Servlet is a server side technology,for developing
serverside application(web applications).
In ModelI we use Servlet and Jsp's only.jsp used for
Presentation logic and Servlet used for Business logic & as
Controller.
Why because- 1.for communating with DataBase
2.for container(server)recognise java code.
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are some disadvantages of storing session state in cookies?
What is servlet in web technology?
How is a servlet implemented in code?
Explain the jar and war files in servlet?
What is load-on-startup in servlet?
What are the difference between RMI and Servlets?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is servlet and list its types?
What is the purpose of requestdispatcher interface?
What are the functions of the servlet container?
What is the difference in between the httpservlet and generic servlet?
How to get the current httpsession object?
how many jsp scripting elements are there and what are those?
request parameter how to find whether a parameter exists in the request object?
Explain load on start-up and its importance?