Difference between servlet and JSP
Server side java language used to control view pages and data flow in it.
Html code can be used inside Java code
Server side scripting language that can embed java into HTML program.
Helps mainly to bind server side data into design page.
Allows us to write Java code inside HTML