Set the factory webapp's context.