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
How to sort list of list in java?
How do you use find and replace?
What is the use of join method?
what is use of functional interface in java 8?
What is ternary operator?
Why does java doesnt suuport unsigned values?
What are the rules for naming an array?
Why is inheritance used in java?
What is += mean in java?
What are the various access specifiers for java classes?
What is the use of callablestatement?
What is a local class in java?
What happens when a thread cannot acquire a lock on an object in java programming?
Explain exception chaining in java?
What is the difference between variable & constant?