String file_Path = new File(LoginController.class.getResource("/").getPath()).getParent() + filename;
其中filename为你在WEB-INF下文件的名字
服务器托管,北京服务器托管,服务器租用 http://www.hhisp.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net
String file_Path = new File(LoginController.class.getResource("/").getPath()).getParent() + filename;
其中filename为你在WEB-INF下文件的名字
服务器托管,北京服务器托管,服务器租用 http://www.hhisp.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net