What is the difference between jsp and servlet?
Answer Posted / mahesh
Jsp is defined as Java server pages.
Jsp and servlet both are server side programming language.
the diffence in b/w these two is Jsp is used for
presentation part and servlet is use to give the business
logic.
Servlet act as redirector also. it redirect your page as
per the business logic.
anyhow Jsp are compiled to servlet but Jsp comes in to
picture to separate out the presentation logic from the
servlet to make it loosely coupled.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are data types in oop?
What about main thread in java?
What’s the difference between unit, integration and functional testing?
What is type safety in java?
What is callable java?
What is the inheritance?
Can a class be private in java?
what is the major difference between linkedlist and arraylist in java?
What is an interface in java? Explain
Can we define private and protected modifiers for variables in interfaces?
What is treeset in java?
What is the purpose of abstract class?
What are the different access modifiers available in java?
Explain the access modifiers for a class, method and variables?
what is mutual exclusion? : Java thread