tree: f9b916d9b5f027f581093e3c66d9228c4f2e376e [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.MD
examples/servlet3-webapp/README.MD

Servlet 3 Example

This example demonstrates how to use advantages of Servlet v3 and how to configure Jersey application with this version of Jersey. JAX-RS resource returns the usual text

Contents

The mapping of the URI path space is presented in the following table:

URI pathResource classHTTP methods
/catCatResourceGET
/dogDogResourceGET

Running the Example

Run the example using Jetty as follows:

mvn clean package jetty:run

Go to the URL: