Question: why jsp is used instead of html?
Answer: Performance is significantly better because JSP allows embedding Dynamic Elements in HTML Pages itself instead of having separate CGI files. ... JSP pages can be used in combination with servlets that handle the business logic, the model supported by Java servlet template engines.