i am saving image on server. when i run it on one m/c as client and server is same its working. for this saving image as file in temp folder i use path as c://workplace/stud_app/jsp/temp/Filename in servlet. but application run on cvs as server is different i could not save image. i tried as request.grtContextPath+temp/Filename its not working. how i get this server path to save file. i use Eclipse to run application.