Introduce Runtime method to provide url for static resources

Introduce Runtime method to provide url for static resources, so that different runtime environments can manage their URL routings differently.