tomcat获取路径时包括一个“/”
weblogic获取路径时不包括最后的“/”
String strVendor="weblogic";
//得到系统路径
if ("weblogic".equals(strVendor)){
ServletContext app=(ServletContext)pageContext.getServletContext();
String strSysPath = app.getRealPath("/") + "/NEUUpdate/";
}else{
ServletContext app=(ServletContext)pageContext.getServletContext();
String strSysPath = app.getRealPath("/") + "NEUUpdate/";
}