checking if the servlet you end up displaying the map