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
What is Java Shutdown Hook?
Can final class have constructor?
What is the purpose of main function in java?
What is enhanced loop in java?
Difference between comparator and comparable in java?
What is the function of log?
How will you initialize an Applet?
What is string builder in java?
How do you insert a line break?
What is assembly language?
Give an example of use of pointers in java class.
Justify your answer that you can't define a method inside another method in java, if you can then how?
What methods are used to get and set the text label displayed by a button object?
What is the role of garbage collector in java?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.