How do i run a web app with Jetty not directly under root?

Answered

Hi. In production, we're to have multiple web apps under different paths on Tomcat. like /web /bo etc. However, when i run my war in jetty in intellij, the app is always deployed under root. This makes the web app behave differently for me than when it has a path.

 

Is it possible to deploy the app not under root, but under a sub-path with Jetty?

1 comment
Comment actions Permalink

Use Run/Debug Configurations | Deployments | Use custom context root option in Jetty Run configuration:

0

Please sign in to leave a comment.