I'm trying to create and deploy a StandardContext (i.e., a webapp) inside my Servlet:
StandardContext theContext = new StandardContext() theContext.setDisplayName(thePath); theContext.setDocBase(myBaseDir + thePath); theContext.setName(thePath); theContext.setPath(thePath); myHost.addChild(theContext); theContext.start(); The webapp gets added and is displayed when I check the manager, but it won't start. Any suggestions? regards, Erik