What is the difference between JSP and Servlet?
Answer Posted / swetha bammidi
both servlet and JSP are same.Both are using to represent a
dynamic content to the user but their job is different.And
servlets are used for business logic whereas JSP are used for
presentation logic.If u want to present the data to the user once using servlets what you do is you put HTML with in java.if you want to present the data to the user once using JSP what you do is you put java with in HTML
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Which tag is used to execute java source code in jsp?
Is jsp used?
Differentiate between response.sendredirect(url) and
What is jsp declaration?
Is jsp page extensible true false?
How can we retrieve warnings?
How do you delete a cookie within a jsp?
Tell us about the stages (phases) of the jsp life cycle.
How can I extend the functionality of jsp?
What is JTGrid?
What is a session in web?
What are the jsp tag?
What is request getcontextpath ()?
Explain JSP directives.
Can we write java code in jsp?