get image from servlet