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
What is translation phase?
How does a jsp work?
what is social transformation system? any site reference? How i get requirement gathering about for it? i wanna build website on this topic
How we can configure init params in jsp?
What is jsp tag?
How do you connect to the database from jsp?
What is a javaserver pages (jsp)?
What do you mean by custom tag in jsp?
How to comment out jsp code?
What is welcome file list?
Can a constructor be used in place of init() method to initialize a servlet?
Can we write java code in jsp?
What are the life-cycle methods for a jsp?
What is jsp expression?
What are different implicit objects of jsp?