What is the difference between jsp and servlet?
Answer Posted / madhu sudana rao.yadavalli
jsp means java server page ,jsp is laso a servelt .In the
servlet code is written by manually but in jsp code is
generated by the jsp container.
jsp is used where the presentation layer is more, and this
is uesd in medium and larger projects
servlet is used in small projects
adv:
1. jsp can be devolp easly.
2. jsp will take less time.
disadv:
1. it can accupi the more memory(why because it fallow
structural procedure menas by genearting the servlet code
included unnecessry content also)
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Can we override protected method in java?
What are different data structures in java?
How to call one constructor from the other constructor ?
v-model life cycle
How does compareto method work?
What do you mean by singleton class in java?
Enlist few advantages of inheritance?
What is a methodologist?
What is meant by the value of a variable?
Why do we need variables?
What is the main function in java?
What is a predicate method?
How many bytes is double?
What is anagram in java?
Why java strings are immutable in nature?