just use the following statement:-
String path=request.getServletContext().getRealPath("put the path for the destination here");
Now you can store this variable called path in your datatable easily.
Hope this solves your query.:)
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.