主题:JSP创建rss2的问题!
<?xml version="1.0" encoding="gb2312" ?>
<%@ page contentType="text/xml;charset=GBK"%>
<%@ taglib prefix="c" uri="/WEB-INF/view/c.tld" %>
<rss version="2.0">
<channel>
<title><c:out value="${form.title}"/></title>
<link>http://www.cnboo.com</link>
<description><c:out value="${form.description}"/></description>
<language>cn-zh</language>
<generator>cnboo.com RSS2.0</generator>
<c:forEach items="${shows}" var="row" varStatus="index">
<item>
<title><![CDATA[<c:out value="${row.title}"/>]]> </title>
<link><c:out value="${row.enclosureUrl}"/></link>
<author><c:out value="${row.author}"/></author>
<pubDate><c:out value="${row.pubdate}"/></pubDate>
<description><![CDATA[<c:out value="${row.description}"/>]]></description>
<enclosure url="<c:out value="${row.enclosureUrl}"/>" length="<c:out value="${row.enclosureLength}"/>" type="audio/mpeg"/>
</item>
</c:forEach>
</channel>
</rss>
请问${row.title},${row.enclosureUrl}是不是数据字段?
<%@ page contentType="text/xml;charset=GBK"%>
<%@ taglib prefix="c" uri="/WEB-INF/view/c.tld" %>
<rss version="2.0">
<channel>
<title><c:out value="${form.title}"/></title>
<link>http://www.cnboo.com</link>
<description><c:out value="${form.description}"/></description>
<language>cn-zh</language>
<generator>cnboo.com RSS2.0</generator>
<c:forEach items="${shows}" var="row" varStatus="index">
<item>
<title><![CDATA[<c:out value="${row.title}"/>]]> </title>
<link><c:out value="${row.enclosureUrl}"/></link>
<author><c:out value="${row.author}"/></author>
<pubDate><c:out value="${row.pubdate}"/></pubDate>
<description><![CDATA[<c:out value="${row.description}"/>]]></description>
<enclosure url="<c:out value="${row.enclosureUrl}"/>" length="<c:out value="${row.enclosureLength}"/>" type="audio/mpeg"/>
</item>
</c:forEach>
</channel>
</rss>
请问${row.title},${row.enclosureUrl}是不是数据字段?