我无法从我的HTML页面的// 1. use an callback interface:
public interface ICompleted{
void execute(boolean succeeded);
}
// 2. pass an instance to asynchronous task runner
asynchTaskRunner (new ICompleted() {
@Override
public void execute(boolean succeeded) {
...
}
});
// 3. run the callback from asynch task when nedded
iCompleted.execute(true or false);
文件夹中提取angular.min.js
和angular-route.js
。
这是我的代码:
HomeContent.html
web content/lib
但是出现以下错误:
HomeContent.html:16 GET http://localhost:8085/WebSiteSTT/HTML/lib/angular.min.js 404(未找到) HomeContent.html:17 GET http://localhost:8085/WebSiteSTT/HTML/lib/angular-route.js 404(未找到)