{"id":82,"date":"2013-06-28T13:41:39","date_gmt":"2013-06-28T13:41:39","guid":{"rendered":"http:\/\/codethataint.com\/blog\/?p=82"},"modified":"2013-06-28T13:43:12","modified_gmt":"2013-06-28T13:43:12","slug":"checking-bean-value-before-iteration-struts2","status":"publish","type":"post","link":"https:\/\/codethataint.com\/blog\/checking-bean-value-before-iteration-struts2\/","title":{"rendered":"Checking bean value before Iteration Struts2"},"content":{"rendered":"<p>Struts2 tag for checking empty bean<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n&lt;s:if test=&quot;%{!nmap.isEmpty()}&quot;&gt;\r\n &lt;thead&gt;\r\n   &lt;tr&gt;\r\n     &lt;td&gt;Name&lt;\/td&gt;\r\n     &lt;td&gt;Age&lt;\/td&gt;\r\n   &lt;\/tr&gt;\r\n &lt;\/thead&gt;\r\n&lt;\/s:if&gt;\r\n &lt;tbody&gt;\r\n &lt;s:iterator var=&quot;Person&quot; value=&quot;value&quot;&gt;\r\n .\r\n .\r\n .\r\n &lt;\/s:iterator&gt;\r\n &lt;\/tbody&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Struts2 tag for checking empty bean &lt;s:if test=&quot;%{!nmap.isEmpty()}&quot;&gt; &lt;thead&gt; &lt;tr&gt; &lt;td&gt;Name&lt;\/td&gt; &lt;td&gt;Age&lt;\/td&gt; &lt;\/tr&gt; &lt;\/thead&gt; &lt;\/s:if&gt; &lt;tbody&gt; &lt;s:iterator var=&quot;Person&quot; value=&quot;value&quot;&gt; . . . &lt;\/s:iterator&gt; &lt;\/tbody&gt;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-82","post","type-post","status-publish","format-standard","hentry","category-iteration"],"_links":{"self":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/82","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/comments?post=82"}],"version-history":[{"count":3,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/82\/revisions"}],"predecessor-version":[{"id":84,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/posts\/82\/revisions\/84"}],"wp:attachment":[{"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/media?parent=82"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/categories?post=82"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codethataint.com\/blog\/wp-json\/wp\/v2\/tags?post=82"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}