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?
Please sign in to leave a comment.
Use Run/Debug Configurations | Deployments | Use custom context root option in Jetty Run configuration: