Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Example of using servlet-3.0 with annotations and embedded jetty
Branch: master

Example: Embedded Jetty w/ Servlet 3.0 and Annotation

This is a maven project setup as a WAR packaging, with an EmbedMe class in the test scope that starts an embedded jetty of the WAR file being produced by this project.

Quick Start

$ mvn clean install exec:exec

Open your web browser to

http://localhost:8080/  for the root of the project

http://localhost:8080/test/  to show the annotation working as expected
Something went wrong with that request. Please try again.