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
How does error handling occur with jstl?
What is the difference between directive include and jsp include?
What is jsp scriptlet?
How is scripting disabled?
What are the main tags in jsp?
How do I use sendredirect?
Why does _jspService() start with an ‘_’ but other lifecycle methods do not?
What are the different types of jsp tags?
How to pass information from jsp to included jsp?
Which jsp life cycle is in correct order?
What is the use of implicit object named "application" in Application?
Can you use javascript in jsp?
Can you disable the caching on the back button of a particular browser?
Can we override the jspinit(), _jspservice() and jspdestroy() methods?
What is iselignored in jsp?