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
What is ++ a in java?
What is the requirement of thread in java?
Is alive in java?
What is bytecode in java ?
Explain listiterator and methods in listiterator?
Why can't we make a class private in java?
Is string a class in java?
Can we execute a program without main?
Why is boolean important?
What is comparable and comparator interface? List their differences
Is array an object in java?
Why java is used everywhere?
When should you make a function static?
If two threads have same priority which thread will be executed first ?
What means public static?