All Projects → jetty-project → Embedded Servlet 3.0

jetty-project / Embedded Servlet 3.0

Licence: apache-2.0
Example of using servlet-3.0 with annotations and embedded jetty

Programming Languages

java
68154 projects - #9 most used programming language

⚠️ This uses the end-of-life Jetty version 8.
Do not use in production.
For Jetty 9 / Servlet 3.1 version see https://github.com/jetty-project/embedded-servlet-3.1

Example: Embedded Jetty 8 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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].