ALERT

[WEBINAR] See the Whole Story: The Case for a Visualization Platform

JavaServer Pages (JSP)

Definition - What does JavaServer Pages (JSP) mean?

JavaServer Pages (JSP) is a technology used to develop interactive Web pages. JSP was developed by Sun Microsystems and is an improved version of Java servlets.

JSP may be developed in a simplified manner and has a wide range of applications. As with most server-based technologies, JSP separates business logic from the presentation layer.

Techopedia explains JavaServer Pages (JSP)

JSPs are normal HTML pages with embedded Java code. To process a JSP file, developers need a JSP engine, which is connected to a Web server. The JSP page is then compiled into a servlet, which is handled by the servlet engine. This phase is known as translation. The servlet engine then loads the servlet class and executes it to create dynamic HTML, which is then sent to the browser.

When the next page is requested, the JSP page is precompiled into the servlet and executed, unless the JSP page is changed.

When used with Java DataBase Connectivity (JDBC), JSP provides a dynamic way to create database-driven websites.

The advantages of JSP are:

  • Portability: JSP can be deployed across many platforms. All these components can be run across Web servers.
  • Configured for reusability: JSP components can be reused across servlets, JavaBeans and Enterprise JavaBeans (EJB).
  • Simplification: JSP is simple in the processes of development and maintenance.

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
Free Whitepaper: The Path to Hybrid Cloud
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.