JavaServer Pages

Why Trust Techopedia

What Does JavaServer Pages 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.

Advertisements

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

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.
Advertisements

Related Terms

Margaret Rouse
Technology expert
Margaret Rouse
Technology expert

Margaret is an award-winning writer and educator known for her ability to explain complex technical topics to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles in the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret’s idea of ​​a fun day is to help IT and business professionals to learn to speak each other’s highly specialized languages.