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 / abilash
servlet: its a java class so for every change we have to
compile the code to reflect the change.Mainly using for
writing business logics.
jsp:its a file, its automatically converted into a servlet
on deploying. We can't compile it explicitly.the changes
will get reflect by saving the file.Its mainly used for
presentation of data
Is This Answer Correct ? | 235 Yes | 41 No |
Post New Answer View All Answers
What is the requirement of servlet config and servlet context implemented and how are they implemented?
What are the advantages of Servlet over CGI?
How can you push data from an Applet to a Servlet?
What are the functions of an intercepting filter?
How do you communicate in between Applets and Servlets?
What is the difference between the servlets and cgi programs?
Why servlet is used as controller ? Not JSP? I want complete explation?
How does tomcat servlet container work?
Is it good idea to create servlet constructor?
How do we translate jsp?
Name the different ways of session tracking.
Explain how does JSP handle run-time exceptions?
How we can call a jsp from the servlet?
What is a web container and what is its responsibility?
What is session tracking?