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
What is life cycle of Servlet?
What are the different methods of session management in servlets?
What is lazy loading and what is Generic Servlet Class?
How to generate the server side programming and the advantages of it over the other languages?
What is servlet and its types?
What is Request Dispatcher?
Explain the concept of ssi ?
What is the life-cycle of servlets?
Is it possible to have a constructor inside the servlet?
What is servlet container. how it works?
What methods do you use in servlet - applet communication?
What is ServletConfig object?
Differentiate between the print writer and servlet output stream?
How to handle exceptions thrown by application with another servlet?
Explain Action Servlet?