java 获得 相当路径
File?? fdoc =?? new?? File(request.getRealPath("/")+downloadSrcFiles.replaceAll(".rgf",".doc"));
?String realPath1 = "http://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath()+request.getServletPath().substring(0,request.getServletPath().lastIndexOf("/")+1);????
System.out.println("web URL 路径:"+realPath1);??