Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

JSP 2.0 vs JSP 2.1

Jetty does not implement JSP directly. Instead it uses a servlet to provide this functionality required by the servle specification. As part of Java EE 5 (the next version of J2EE), the companion of 2.5 servlet specification is the 2.1 JSP specification.

While all Java EE 5 technologies formally depend on java 5 (jre 1.5), this is a soft dependency for servlets and Jetty 6 will compile and run on jre 1.4. However, for JSP the dependency of java 5 is a hard dependency and jre 1.5 must be used to run the server with JSP 2.1

Thus Jetty 6 supports both JSP 2.0 and JSP 2.1 so that jre 1.4 users may be supported.

JSP 2.0 (Jasper)

JSP 2.0 support is provided by two modules in Jetty:

modules/jsp-2.0-api

This is the standard API that has been imported from the apache project. Eventually this should be obtained from an external maven dependency.

modules/jsp-2.0

This module imports apache jasper servlet as a jar, plus its dependencies.

JSP 2.1

JSP 2.1 support is provided by two modules in Jetty:

modules/jsp-2.1-api

This is the standard API from project glassfish. Eventually this should be obtained from an external maven dependency.

modules/jsp-2.1

This module uses jasper from project glassfish.

  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery