在JAVA里肯定不能识别
建议将PATH作为一个参数
在jsp里
String path= request.getRealPath("\\datafile\\");
再将path传到java类里的方法里