-
String cpath = new File(request.getServletPath()).getParent(); String localPath = application.getRealPath(cpath); out.println(localPath);