<%
int MAX_RECENT_MAPS = 6;
List list = (List) request.getAttribute("wisemapsList");
if (list != null && !list.isEmpty()) {
List recentMaps = new ArrayList();
recentMaps.addAll(list);
Collections.sort(recentMaps, new MindMapBean.MindMapBeanComparator());
for (int i = recentMaps.size() - 1; i >= 0 && i >= recentMaps.size() - MAX_RECENT_MAPS; i--) {
%>
<%
}
} else {
%>
<%
}
%>