This commit is contained in:
Jan Bartel 2016-08-11 07:51:10 +10:00
parent 0f7cb5e815
commit 4b8e4707db
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ public class ServerWithJNDI
WebAppContext webapp = new WebAppContext(); WebAppContext webapp = new WebAppContext();
webapp.setContextPath("/"); webapp.setContextPath("/");
File warFile = new File( File warFile = new File(
"../../jetty-distribution/target/distribution/demo-base/webapps/test.war"); "../../jetty-distribution/target/distribution/demo-base/webapps/test-jndi.war");
webapp.setWar(warFile.getAbsolutePath()); webapp.setWar(warFile.getAbsolutePath());
server.setHandler(webapp); server.setHandler(webapp);