| | |
| | | ServiceModel model = new ServiceModel();
|
| | | String loadpath = ActionUtil.getSession().getServletContext().getRealPath("/");
|
| | | String str = new File(loadpath).getParentFile().getAbsolutePath();
|
| | | if(binf != null && binf.getStationId() != null && binf.getStationName() != null){
|
| | | if(binf != null && binf.getStationId() != null && binf.getVideoOrImage() != null){
|
| | | String filesource = str+File.separator+fileRoot+File.separator+binf.getStationId()+File.separator+binf.getVideoOrImage()+File.separator; //当前请求的机房所在的资源文件夹
|
| | | //System.out.println(filesource);
|
| | | File source = new File(filesource);
|