{"id":191,"date":"2007-09-06T00:00:00","date_gmt":"2007-09-06T00:00:00","guid":{"rendered":"http:\/\/www.strongd.net\/?p=191"},"modified":"2007-09-06T00:00:00","modified_gmt":"2007-09-06T00:00:00","slug":"Struts Logic Tags","status":"publish","type":"post","link":"https:\/\/www.strongd.net\/?p=191","title":{"rendered":"Struts Logic Tags"},"content":{"rendered":"<p><P><FONT color=#000080>Struts Logic Tags examples.<\/FONT><\/P><br \/>\n<OL><FONT size=+0><br \/>\n<LI><FONT size=+0><A href=\"http:\/\/www.strongd.net\/blog\/show\/192\"><B>Introduction to Struts Logic Tags<\/B><\/A><BR><FONT color=#000080 size=3>Struts logic tags are conditional tags that replaces scriptlets in the jsp files.<BR>&nbsp;<\/FONT><\/FONT><br \/>\n<LI><B><U><A href=\"http:\/\/www.strongd.net\/blog\/show\/193\"><FONT size=+0>Logic Empty and notEmpty Tags<\/FONT><\/A><BR><\/U><\/B><FONT color=#000080>Tag evaluation of the nested body content occurs only if the specified value is either absent (i.e. <CODE>null<\/CODE>), an empty string (i.e. a <CODE>java.lang.String<\/CODE> with a length of zero)<B><BR>&nbsp;&nbsp;<\/B><\/FONT><br \/>\n<LI><B><U><A href=\"http:\/\/www.strongd.net\/blog\/show\/194\"><FONT size=+0>Logic Equal and notEqual Tags<\/FONT><\/A><FONT color=#000080><BR><\/FONT><\/U><\/B><FONT color=#000080>if the requested variable is equal to the specified value then this tag is used to evaluate the contents contained in the nested body parts of this tag<BR>&nbsp;&nbsp;<\/FONT><br \/>\n<LI><A href=\"http:\/\/www.strongd.net\/blog\/show\/195\"><B><U><FONT size=+0>Logic greaterEqual and greaterThan Tags<\/FONT><\/U><\/B><\/A><U><B><FONT color=#000080><BR><\/FONT><\/B><\/U><FONT color=#000080>This tag compares the variable against the specified constant value. If the variable is greater than or equal to the specified value then the nested body contents of this tag is evaluated<BR>&nbsp;&nbsp;<\/FONT><br \/>\n<LI><A href=\"http:\/\/www.strongd.net\/blog\/show\/196\"><B><U><FONT size=+0>Logic lessEqual and lessThan Tags<\/FONT><\/U><\/B><\/A><FONT color=#000080><BR>This tag compares the variable against the specified constant value. If the variable is less than or equal to the specified value then the nested body contents of this tag is evaluated<BR>&nbsp;&nbsp;<\/FONT><br \/>\n<LI><A href=\"http:\/\/www.strongd.net\/blog\/show\/197\"><B><U><FONT size=+0>Logic match and notMatch Tags<\/FONT><\/U><\/B><\/A><FONT color=#000080><BR>This tag matches the variable specified as a String against the specified constant value. If the value is a substring&nbsp; then the nested body content of this tag is evaluated.<BR>&nbsp;&nbsp;<\/FONT><br \/>\n<LI><A href=\"http:\/\/www.strongd.net\/blog\/show\/198\"><B><U><FONT size=+0>Logic present and notPresent Tags<\/FONT><\/U><\/B><\/A><FONT color=#000080><BR>This tag checks the current request and depending on which attribute is specified, it evaluates the nested body content of this tag only if the specified value is present.<\/FONT><\/FONT><FONT color=#000080><BR><\/FONT><\/LI><\/OL><br \/>\n<DIV><\/DIV><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Struts Logic Tags examples. Introduction to Struts Logic TagsStruts logic tags are conditional tags that replaces scriptlets in the jsp files.&nbsp; Logic Empty and notEmpty TagsTag evaluation of the nested body content occurs only if the specified value is either absent (i.e. null), an empty string (i.e. a java.lang.String with a length of zero)&nbsp;&nbsp; Logic &hellip; <a href=\"https:\/\/www.strongd.net\/?p=191\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Struts Logic Tags<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-191","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=191"}],"version-history":[{"count":0,"href":"https:\/\/www.strongd.net\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.strongd.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}