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 / chandra
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 ? | 9 Yes | 2 No |
Post New Answer View All Answers
How to make sure a servlet is loaded at the application startup?
How many servlet objects are created?
Why do we have servlet listeners?
When servlet is loaded?
What is session?
What are the uses of servlets?
What is war file?
How can we achieve transport layer security for our web application?
How can we create deadlock situation in servlet?
What is servlet lazy loading?
Which is the methods of generated servlet?
How will two or three servlets interact or communicate with each other?
Write a program to show the functionality of doget and dopost method?
What is servlet and its use?
What is a servlet?