使用public class MyModule extends AbstractModule {
private final Properties properties;
public MyModule(Properties properties){
this.properties=properties;
}
@Override
protected void configure() {
// export all the properties as bindings
Names.bindProperties(binder(), properties);
// move on to bindings
// bind(..);
}
进行评估时,会转到www.domain.com
通过domain.com/index.html/index.html/index.html/index.html/index.html
访问工作正常。我的domain.com
文件为空。我真的很困惑,需要快速解决!