Sorry what i meant was currently i use:
String uploadFolder = getContext().getRealPath("/uploadedImages");
So you are saying instead I should use:
String uploadFolder = "webapps/uploadedImages";
Or do i use:
String uploadFolder = getContext().getRealPath("./uploadedImages");
sorry if i sound stupid i just want to do it the right way and not hack it