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

How to add menushortcut to menu item?

734


Explain about narrowing conversion in java?

757


Which variable is the independent variable?

762


What is an anonymous class in java?

761


What is memory leak and how does java handle it?

719


What is the maximum size of hashmap in java?

730


What is charat ()?

703


What is difference between equal and == in java?

696


What is default size of arraylist in java?

755


what is abstract class in Java?

869


What happens when main () method is declared as private?

833


Is string pool garbage collected?

756


What ide should I use for java?

702


What is the size of a string in java?

723


define the terminology association.

852