ESAPI.properties文件中应包含3行以上。参见例如:
https://web.archive.org/web/20150904064147/http://pre.google.com:80/p/owasp-
esapi-
java/source/browse/trunk/configuration/esapi/ESAPI.properties
以我的经验,ESAPI.properties文件要么需要与esapi.jar放在同一文件夹中,要么需要编译到资源目录中的jar中。
/resources/ESAPI.properties
我相信任何一个都应该起作用。如果ESAPI找不到该文件,则它将在其他位置查找。
此处的代码在620行附近:
https://web.archive.org/web/20161005210258/http://pre.google.com/p/owasp-
esapi-
java/source/browse/trunk/src/main/java/org/owasp/esapi/参考/DefaultSecurityConfiguration.java



