What is the difference between JSP and Servlet?
Answer Posted / pratheeka reddy
Servlets are pure java programs.here we can't use HTML.
But in JSP we use HTML,so we can use and modify the data
very easily.
Servlets are faster than JSP.bcoz while running JSP
programs it will be converted into Servlets and then
executed,so it takes more time.
Is This Answer Correct ? | 205 Yes | 74 No |
Post New Answer View All Answers
Can I declare a java class in jsp?
Why do we need servlets and jsp?
Can we call servlet from jsp?
In the servlet 2.4 specification singlethreadmodel has been deprecated, why?
Explain some jsp life-cycle methods that can be overridden.
Explain jsp and tell its uses?
How does a servlet communicate with a jsp page?
What is the page directive is used to prevent a jsp page from automatically creating a session?
What is cookies in jsp?
What is the difference between include directive and include action?
List down the major differences between the jsp custom tags and java beans.
How to restrict page errors display in a JSP page?
How can information from one JSP be passed to another JSP?
What is difference between html and jsp?
Which language is used to write servlets and jsp?