One way to implement this is to mount the application context at "/" and the jersey root at "/application", then registering a redirect servlet at "/"
```config.yml
server:
type: simple
applicationContextPath: /
rootPath: /application
adminContextPath: /admin
```
```YourApplication.java
@Override
public void run(final SampleContextConfiguration configuration,
final Environment environment) {
environment.servlets().addServlet("root-redirect", new HttpServlet() {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException {
resp.sendRedirect("/application");
}
}).addMapping(""); // empty string maps to root path only, "/" will map to any unmapped path
}
```
Does that do what you're looking for?
-Dimas