What is the difference between jsp and servlet?

Answer Posted / sivasubramanian.k

JSP are java server pages which constitute of html pages
embedded in it ie it is useful for both presentation and
application/business logic..It is compiled only once and
each time it is not executed by server..While servlet are
server side programs which are compiled and is executed
each time..

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is jvm? Why is java called the platform independent programming language?

541


What is starvation?

679


Why put method is used?

523


Why lambda expression is used in java?

568


What is java util?

537






Can an interface implement another interface?

570


What do you mean by append?

530


What is incompatible types in java?

533


How do you declare a destructor in java?

502


what is mutual exclusion? : Java thread

550


What is byte value?

553


How can you share data between two thread in Java?

522


What is the difference between heap and stack memory?

541


What is jvm? How its run?

658


Which class cannot be a subclass in java?

539