📄 flow-index.jsp
字号:
<?xml version="1.0" encoding="UTF-8"?> <!-- $Id: flow-index.jsp,v 1.4 2004/05/27 13:17:13 jmettraux Exp $--><% /* * a jsp that generates an automatic list of flows * * note that it requires the jar openwfe-applic.jar */ String SELF = "flow-index.jsp"; // gather info String realPath = application.getRealPath("."); java.util.Set set = openwfe.org.Utils.buildFileSet(realPath); String rootWebPath = request.getRequestURL().toString(); rootWebPath = rootWebPath.substring(0, rootWebPath.lastIndexOf("/"));%><flows><% java.util.Iterator it = set.iterator(); while (it.hasNext()) { String path = (String)it.next(); if ( ! path.endsWith(".xml") && ! path.endsWith(".jsp")) continue; if (path.indexOf("CVS") > -1) continue; if (path.indexOf("WEB-INF") > -1) continue; if (path.endsWith(SELF)) continue;%> <flow><%= openwfe.org.Utils.changeToWebPath(realPath, rootWebPath, path) %> </flow><% }%></flows>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -