what is the difference between Servlet and JSP?Advantage of
JSP over Servelt?Any concept present in JSP which we cant
implement in Servlet?
Answer Posted / sainath
1:)Jsp is used for input page devolopement and response page
developement sake.
But Servlets not for output generation, used only for
requesthandling,receiving request,processing data,and
communicate with db.
2:)Major problem with Servlet is that dynamic content
generationcode and presentationcode is tightly coupled
Incase of Jsp loosecoupling
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How servlets are deployed in java?
Why are http servlets used in programming?
Which event is fired at the time of session creation and destroy?
What is cgi?
Why filter is used in servlet?
How we can get ip address of client in servlet?
What are the different methods involved in generic servlet?
When a servlet accepts a call from a client, it receives two objects. What are they?
Explain how to improve Servlet Performance?
What are the steps involved in placing a servlet within a package?
What do you mean by web applications? Explain web application directory arrangement?
Which java application server is the best?
What is the directory structure of a war file?
Why do we need a constructor in a servlet if we use the init method?
Differentiate between the get and post method