Skip to content

Instantly share code, notes, and snippets.

@nkcoder
Created July 5, 2015 05:46
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 nkcoder/3f2a450b50a0721e7010 to your computer and use it in GitHub Desktop.
Save nkcoder/3f2a450b50a0721e7010 to your computer and use it in GitHub Desktop.
使用jetty通过xml描述文件部署一个web项目的配置
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<Set name="contextPath">/timediff</Set>
<Set name="war">/opt/web/timediff</Set>
</Configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment