/**
* 访问记录
*/
public String accesslogs() {
CachedResourceAccessor ra = (CachedResourceAccessor) ActionContext.getContext()
.getApplication().get("ResourceAccessor");
List<Accesslog> accessLogs = null;
if (null == ra) {
accessLogs = Collections.emptyList();
} else {
accessLogs = CollectUtils.newArrayList(ra.getAccessLogs());
}
String orderBy = get("orderBy");
if (StringUtils.isEmpty(orderBy)) {
orderBy = "duration desc";
}