What is the difference between JSP and Servlet?
Answer Posted / veeresh n
Both jsp (java server pages) and servlets are web
components.
Jsp is best suitable for presenting the Content. Servlet is
best suitable for processing the request, so many frame
works use servlet as controller and jsp as view. Jsp has
implicit objects and action tags but servlets doesn't have
and implicit objects and action tags.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is it that JComponent have add() and remove() methods but Component doesn’t?
Differentiate between jsp scriptlet tag and declaration tag.
Why are implicit objects not available in a regular jsp page?
Why session is used?
Where is jsp used?
What is the _jspservice() method?
Is jsp static or dynamic?
How do I use comments within a jsp page?
How to comment out jsp code?
Why is it not necessary to configure standard jsp tags in web.xml?
How does error handling occur with jstl?
What do you mean by jsp?
What is the use of jsp and servlet?
What is full api?
Give the syntax for jsp comments.