【问题标题】:how to find size of the feeds at JSTL如何在 JSTL 中查找提要的大小
【发布时间】:2010-09-03 09:06:29
【问题描述】:

我需要找到 JSTL 的大小并将其写入以下代码中的 end="size of feed "。能否请您帮助我如何找到提要的大小?

问候 阿尔泰科

<x:forEach begin="0" end="4" var="story"
           select="$doc/rss/channel/item" varStatus="status">
//end = "size of the rss" 

【问题讨论】:

    标签: jsp rss jstl


    【解决方案1】:

    只是不要指定start 和end,每个项目都会被迭代。

    <x:forEach var="story"
        select="$doc/rss/channel/item" varStatus="status">
    

    【讨论】:

      猜你喜欢
      • 2011-11-26
      • 1970-01-01
      • 1970-01-01
      • 2010-10-25
      • 1970-01-01
      • 2012-06-26
      • 2011-01-22
      • 2017-07-10
      • 1970-01-01
      相关资源
      最近更新 更多