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
How to solve the problem of generating the unique hash keys with hash function?
Can memory leak happen java?
Why are functions called methods in java?
How to set the permissions to a file in java?
What is string data type?
How hashset works internally in java?
Why hashmap is used in java?
What is the basic concepts of OOPS?
Explain spliterator in java8?
What is string builder in java?
Can you inherit from an abstract class java?
Can a private method of a superclass be declared within a subclass?
What are different type of exceptions in java?
What is java jit compilers?
how does multithreading take place on a computer with a single cpu? : Java thread