Java Platform, Enterprise Edition/Java EE Tutorial/An Introduction to JSP

Using JavaServer Pages Technology we can include dynamically created content inside HTML, XML, and other kinds of web pages. A JSP file is actually very much similar to an HTML file except that it contains Java code to generate the dynamic content. When a user accesses this page the Java code inside the page is converted to a servlet which adds content to the HTML send to the client.