discovery publishedurl according to servlet context path
add info in servlet