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


Please Help Members By Posting Answers For Below Questions

How do you compare two strings lexicographically?

533


when you will synchronize a piece of your code? : Java thread

527


What is command line argument

704


What is variable explain?

524


Describe the term diamond problem.

573






What causes memory leak in java?

475


Is vector ordered in java?

538


Which is fastest collection in java?

557


What is meant by attribute?

593


What is difference between calling start() and run() method of thread?

555


How to compare strings in java?

497


What is the synonym of string?

531


Do we need to manually write Copy Constructor?

604


What are the steps involved to write rmi based programs?

561


Define class?

514