Moved method for setting web app resources into server-specific implementation classes.