What is the difference between jsp and servlet?
Answer Posted / namita
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 ? | 10 Yes | 1 No |
Post New Answer View All Answers
Why is stringbuffer not immutable?
How do you check if a character in a string is a digit or letter?
What is final, finally, finalize?
What is internal iteration in java se 8?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
What about abstract classes in java?
What is the maximum size of array in java?
What are recursive functions?
What are inbuilt functions in java?
What is identifier with example?
What is the lifetime and scope of a variable?
what is the final keyword denotes in java?
Difference between this() and super() ?
Write a java program to generate fibonacci series ?
Which class is used by server applications to obtain a port and listen for client requests?