JavaServer Pages

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

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…