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
Garbage collection in java?
Is object a data type?
In how many ways we can do exception handling in java?
What is the ==?
What is Major and importance difference between for and foreach loop ?
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
Which sorting algorithm is in place?
what is thread? : Java thread
Explain the difference between comparator and comparable in java?
Can we print null in java?
What is final int?
What is this keyword in java?
How can we make string upper case or lower case?
What are different data types?
What is xslt in java?