test_recurse.jsp

来自「jakarta-taglibs」· JSP 代码 · 共 34 行

JSP
34
字号
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<%@ taglib uri="http://jakarta.apache.org/taglibs/xtags-1.0" prefix="xtags" %>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Test recursion</title>
<link rel="stylesheet" href="../examples.css" type="text/css">
</head>

<body>

<h1>Test recursion</h1>


<xtags:parse id="doc" uri="tree.xml"/>

<p>Now lets recursively output the XML document...</p>

<p>Found document <%= doc.toString() %></p>

<hr>

<xtags:forEach select="/">
  <p>recursing from the root node</p>

  <jsp:include page="/test/recurse.jsp" flush="true"/>

</xtags:forEach>

<hr>

</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?