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
Why are servlets used?
What is called servlet mapping?
What's the servlet interface?
What is the
When to use doget() and when dopost()?
What is the difference between context parameter and context attribute?
What are the different session tracking techniques?
Explain in brief the directory structure of a web application?
What exactly are the functions of servlet?
What are the difference between session and cookies in servlet? Explain
What is a servlet context object?
What exactly is a servlet?
What is a servlet engine?
Write a hello world program using servlets.
Explain session tracking and its importance?