Skip to content

Instantly share code, notes, and snippets.

@mmalmeida
Created September 27, 2013 14:03
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 mmalmeida/6729080 to your computer and use it in GitHub Desktop.
Save mmalmeida/6729080 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure id="xxx" class="org.eclipse.jetty.webapp.WebAppContext">
<Call name="setAttribute">
<Arg>org.eclipse.jetty.server.webapp.WebInfIncludeJarPattern</Arg>
<Arg>.*/.*jsp-api-[^/]\.jar$|./.*jsp-[^/]\.jar$|./.*taglibs[^/]*\.jar$</Arg>
</Call>
<!-- Add an EnvEntry only valid for this webapp -->
<New class="org.eclipse.jetty.plus.jndi.EnvEntry">
<Arg><Ref id="xxx"/></Arg>
<Arg>my.env</Arg>
<Arg type="java.lang.String">DEV</Arg>
<Arg type="boolean">true</Arg>
</New>
</Configure>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment