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 is difference between module and function?
What is java in detail?
explain copyonwritearraylist and when do we use copyonwritearraylist?
Can we inherit inner class?
Explain throw keyword in java?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
Is 0 true or false?
Using callable statement how can you pass out parameters, explain with example?
which class is the wait() method defined in? : Java thread
How do you execute a thread in java?
How can you read content from file in java?
Can array grow dynamically in java?
What is difference between path and classpath in java?
What are keyboard events?
What is methods in java?