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
Is the session object always created on the jsp page, is it possible to disable its creation?
How to find out the name of the http method using jsp el?
How many tags are provided in jstl?
Can you use javascript in jsp?
Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page? : Citibank
How jsp is executed?
What is dynamic web project?
What is jsp in html?
How do I run a jsp file?
What are the different types of directives available in jsp?
What does .com stand for?
Explain the difference between jspwriter and servlet printwriter in jsp?
What is jstl jar?
How to print java variable in jsp?
How can we create jsp custom tags?