This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
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.
What does this mean? What exactly is the code doing, and how is or isn't it behaving according to your expectations? Are there any error messages? [ February 18, 2008: Message edited by: Ulf Dittmer ]
You should not hardcode the file path in the servlet. If you hardcoded it, then there must be a folder structure matching your file path, must be present in the server machine.