---------------
******************************************************************************
Uploading File
******************************************************************************
...
Type: Posts; User: rajamuna; Keyword(s):
---------------
******************************************************************************
Uploading File
******************************************************************************
...
try out
ServletContext context = session.getServletContext();
String realContextPath = context.getRealPath(request.getContextPath());