Java Server Pages (JSP) are designed for web pages with dynamic generated content. JSP uses tags to simplify the development of the pages. Functionality for dynamic content is encapsulated in tags JSP believes in reusability and ssage of reusable components (i.e. JavaBeans) implement the business processing. JSP has an edge over Servlets because in Servlets we ave to spend a lot of time writing code to generate Html for client as HTML tools are not available. Also in Servlets, presentation and business logic are mixed up which is not the case in JSP.
(more…)