Introduction to JSP
Like servlets, JSP is a type of Java 2 Platform, Enterprise Edition (J2EE) Web component. JSP is similar to server-side scripting technology, but there is a key difference—JSP is compiled, whereas scripts are interpreted. JSP allows a program to be embedded in HTML documents, which can later be parsed by a Web server. JSP utilizes the Java Servlet technology to achieve server-side processing.
A JSP consists of Java code embedded within a structured document such as HTML or XML. The idea is to use the markup language for the static portions of the presentation and embed special tags within the page to markup the dynamic content. The tags are also used to process incoming requests from a client and generate responses as a result. ...
Get Developing Enterprise Java Applications with J2EE™ and UML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.