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
How will you load a specific locale?
Does variable declaration allocate memory?
What is tree in java?
If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
Give reasons supporting that string is immutable.
How does the java compiler work?
How does sublist works in java?
How big is a boolean?
What is a constructor overloading in java?
What is the lifetime and scope of a variable?
Why put method is idempotent?
Why singleton pattern is better than creating singleton class with static instance?
How to stop a thread in java? Explain about sleep () method in a thread?
what is ststic with example