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
Define canvas?
What is a void method?
Why we used vector class?
How finally used under exception handling?
What are bind parameters?
Explain the meaning of java applet.
What are the concepts of 'OOPS'?
What is finalize() function in java?
State one difference between a template class and class template.
What is the difference between logical data independence and physical data independence?
What is contract between hashcode and equal method?
How can you make a class serializable in java?
What happens if we don’t override run method ?
Garbage collection in java?
Add a value x to array from index l to r where 0 <= l <= r <= n-1