posted 10 years ago
Hello,
I have a web-app hosted on embedded jetty. I would like to host the same web-app twice with different context-root so that I can access the app from both context-roots. I have my web-app context configured in jetty.xml like below, how can I have the same app added with a different context-root.
<Set name="handler">
<New class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/abc</Set>
<Set name="war">WebContent</Set>
<Get name="securityHandler">
<Set name="loginService">
<New class="DummyLoginService">
<Call name="start"/>
</New>
</Set>
</Get>
</New>
</Set>