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
How httpservlet is different from the genericservlet?
What is a servlet context object?
How can you push data from an Applet to a Servlet?
What are the mechanisms used by a servlet container for maintaining session information?
When servlet is loaded?
What are all the protocols supported by httpservlet?
Is it good idea to create servlet constructor?
How will two or three servlets interact or communicate with each other?
What is url encoding and url decoding
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What are the types of Session Tracking ?
why we should override only no-agrs init() method.
what is servlet chaining?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
What is the workflow of a servlet?