removed hard coding of hostname in jsp files