Experts,
Much Appreciate your input.
I have a sample jsp which get input from user to upload a file, user once uploaded the file , I am reading it via servlet.String appPath = request.getServletContext().getRealPath("")+"\\uploadFiles"+"\\sample.txt";
The code is working fine in my local. But when i upload in hana trail its erroring out saying the path is not found.
I know somewhere am missing as program couldnt find the path in cloud. so how i can achieve this?
Kindly advise. Thanks