﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>亲亲宝宝 &#187; jstl</title>
	<atom:link href="http://www.wenhq.com/tag/jstl/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wenhq.com</link>
	<description>记录宝宝成长文章和软件开发经验笔记</description>
	<lastBuildDate>Fri, 10 Feb 2012 00:03:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JSTL常用循环和条件语句</title>
		<link>http://www.wenhq.com/article/view_378.html</link>
		<comments>http://www.wenhq.com/article/view_378.html#comments</comments>
		<pubDate>Mon, 12 Oct 2009 16:27:12 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[jstl]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[  ]]></description>
			<content:encoded><![CDATA[<p>最简单的输出:

循环语句:
  
  ${item.ipcname}
 

循环的高级特性,用c:forEach 中vaStatus的属性可以获得迭代的自身状态，如：

 此次迭代的索引
 已经迭代的数量
 是否是第一个迭代对象
  是否是最后一个迭代对象
bgcolor=&#8221;#ccffff&#8221; 指定不同行的背景颜色


条件一:
selected
条件二(else):

      pizza...<a href='http://www.wenhq.com/article/view_378.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_378.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JSTL中不能获取list集合的属性</title>
		<link>http://www.wenhq.com/article/view_370.html</link>
		<comments>http://www.wenhq.com/article/view_370.html#comments</comments>
		<pubDate>Tue, 15 Sep 2009 13:14:37 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[jstl]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[ ]]></description>
			<content:encoded><![CDATA[<p>jsp中el表达式，一般对象的属性 .都可以获取，如果该对象为集合时，会发生错误：
  javax.servlet.ServletException: The &#8220;.&#8221; operator was supplied with an index value of type &#8220;java.lang.String&#8221; to be applied to a List or array, but that value cannot be converted to an integer.
  ...<a href='http://www.wenhq.com/article/view_370.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_370.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>STL fmt:formatNumber 数字、货币、日期格式化</title>
		<link>http://www.wenhq.com/article/view_361.html</link>
		<comments>http://www.wenhq.com/article/view_361.html#comments</comments>
		<pubDate>Fri, 14 Aug 2009 08:35:47 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[jstl]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[在jsp页面中我们经常需要把现实的数字进行格式化，stl标签库提供了格式功能，用法如下。]]></description>
			<content:encoded><![CDATA[<p>java格式化输出：
DecimalFormat df = new DecimalFormat(&quot;格式&quot;);
String fmt =df.format(double);
符号&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 意义
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n...<a href='http://www.wenhq.com/article/view_361.html' rel="nofollow">阅读全文</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.wenhq.com/article/view_361.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

