action
ServletActionContext.getRequest().getRealPath("/"); // D:\work\tpifweb\WebRoot\
String path = this.getClass().getClassLoader().getResource("").getFile(); // D:/tomcat-6/lib/
action
ServletActionContext.getRequest().getRealPath("/"); // D:\work\tpifweb\WebRoot\
String path = this.getClass().getClassLoader().getResource("").getFile(); // D:/tomcat-6/lib/