flow-index.jsp
来自「一个工作流设计及定义的系统,可以直接与数据库结合进行系统工作流程的定义及应用.」· JSP 代码 · 共 45 行
JSP
45 行
<?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 + =
减小字号Ctrl + -
显示快捷键?