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 do you compare two strings lexicographically?
when you will synchronize a piece of your code? : Java thread
What is command line argument
What is variable explain?
Describe the term diamond problem.
What causes memory leak in java?
Is vector ordered in java?
Which is fastest collection in java?
What is meant by attribute?
What is difference between calling start() and run() method of thread?
How to compare strings in java?
What is the synonym of string?
Do we need to manually write Copy Constructor?
What are the steps involved to write rmi based programs?
Define class?