Skip to content

Instantly share code, notes, and snippets.

@akkida746
Created December 22, 2016 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akkida746/8c0fb3e541865d80194a0cfffc405a4e to your computer and use it in GitHub Desktop.
Save akkida746/8c0fb3e541865d80194a0cfffc405a4e to your computer and use it in GitHub Desktop.
Set application context path in jetty-web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- File: web-app/WEB-INF/jetty-web.xml -->
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<!-- Application name is 'gdi_som' -->
<Set name="contextPath">/gdi_som</Set>
</Configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment