What is the difference between jsp and servlet?
Answer Posted / mahesh
Jsp is defined as Java server pages.
Jsp and servlet both are server side programming language.
the diffence in b/w these two is Jsp is used for
presentation part and servlet is use to give the business
logic.
Servlet act as redirector also. it redirect your page as
per the business logic.
anyhow Jsp are compiled to servlet but Jsp comes in to
picture to separate out the presentation logic from the
servlet to make it loosely coupled.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What do you understand by looping in java? Explain the different types of loops.
What do you mean by garbage collection used in java?
Why are variables important in research?
In which language java is written?
Give a practical example of singleton class usage?
How to compare two strings in java program?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is the largest number a double can hold?
Is void a type?
Difference between default and protected access specifiers?
What is thread synchronization in java?
What is a variable declaration?
What is a text string?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
Does java return by reference?