What is the difference between jsp and servlet?
Answer Posted / namita
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 ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is a function easy definition?
Is there a way to increase the size of an array after its declaration?
Can we change the scope of the overridden method in the subclass?
When should I use a singleton?
Why is java so important?
Difference between ‘is-a’ and ‘has-a’ relationship in java?
What does jre stand for?
Explain about oops concepts.
What is type inference in java8?
Can we convert list to set in java?
What does i ++ mean in Java?
What is the full form of jpeg?
What are different types of states exist for a thread?
What differences exist between iterator and listiterator?
explain what is transient variable in java?