Also update context path in debug runner (from "/" to "/photo")
This commit is contained in:
parent
d1193ab44a
commit
e7a18e77a8
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ public class Runner {
|
||||||
WebAppContext context = new WebAppContext();
|
WebAppContext context = new WebAppContext();
|
||||||
context.setDescriptor("src/main/webapp/WEB-INF/web.xml");
|
context.setDescriptor("src/main/webapp/WEB-INF/web.xml");
|
||||||
context.setResourceBase("src/main/webapp");
|
context.setResourceBase("src/main/webapp");
|
||||||
context.setContextPath("/");
|
context.setContextPath("/photo");
|
||||||
context.setParentLoaderPriority(true);
|
context.setParentLoaderPriority(true);
|
||||||
|
|
||||||
server.setHandler(context);
|
server.setHandler(context);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue