%@page contentType="text/html;charset=UTF-8"%>
- 返回上一级
<%
String path = (String) request.getAttribute("path");
String currentPath = "";
String[] array = path.split("/");
for (int i = 0; i < array.length; i++) {
String item = array[i];
if (i != 0) {
currentPath += "/" + item;
}
pageContext.setAttribute("item", item);
pageContext.setAttribute("currentPath", currentPath);
%>
- ${item == '' ? '根目录' : item}
<%
}
%>