{"id":578,"date":"2021-09-30T09:09:00","date_gmt":"2021-09-30T09:09:00","guid":{"rendered":"https:\/\/www.programmingempire.com\/?p=578"},"modified":"2022-04-06T05:52:42","modified_gmt":"2022-04-06T05:52:42","slug":"more-jstl-examples","status":"publish","type":"post","link":"https:\/\/www.programmingempire.com\/more-jstl-examples\/","title":{"rendered":"More JSTL Examples"},"content":{"rendered":"<div class=\"wp-block-post-date\"><time datetime=\"2021-09-30T09:09:00+00:00\">September 30, 2021<\/time><\/div>\n\n<h1 class=\"wp-block-site-title\"><a href=\"https:\/\/www.programmingempire.com\" rel=\"home\">Programmingempire <\/a><\/h1>\n\n\n<p>This article contains some more JSTL Examples. To begin with, the three tags that provide the functionality of the&nbsp;<strong><em>switch\u2026case<\/em><\/strong>&nbsp;statement in Java are discussed.<\/p>\n\n\n\n<h4><strong>c:choose Tag<\/strong><\/h4>\n\n\n\n<p>Basically this tag work like the&nbsp;<strong><em>switch\u2026case<\/em><\/strong>&nbsp;statement in Java and provides a mutually exclusive conditional operations.<\/p>\n\n\n\n<h4><strong>c:when Tag<\/strong><\/h4>\n\n\n\n<p>Likewise, the&nbsp;<strong><em>c:when<\/em><\/strong>&nbsp;tag works as a&nbsp;<strong><em>Case<\/em><\/strong>&nbsp;statement in&nbsp;<strong><em>switch\u2026.case&nbsp;<\/em><\/strong>statement of Java. Therefore, witin the c:choose tag, we can specify several&nbsp;<strong><em>c:when&nbsp;<\/em><\/strong>tags according to the conditions we want to check.<\/p>\n\n\n\n<h4><strong>c:otherwise Tag<\/strong><\/h4>\n\n\n\n<p>Similarly,&nbsp;<strong><em>c:otherwise<\/em><\/strong>&nbsp;works like&nbsp;<strong><em>default<\/em><\/strong>&nbsp;statement in&nbsp;<strong><em>switch..case<\/em><\/strong>. So, we provide&nbsp;it&nbsp;to specify the set of statements when all the conditions specified in&nbsp;<strong><em>c:when<\/em><\/strong>&nbsp;tags don\u2019t match. The following code shows an example of&nbsp;<strong><em>c:choose, c:when, and c:otherwise&nbsp;<\/em><\/strong>tags.<\/p>\n\n\n\n<h4><strong>JSTL Examples of c:choose, c:when, and c:otherwise<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code j2\"><code>&lt;%@ page language=\"java\" contentType=\"text\/html; charset=ISO-8859-1\"\n    pageEncoding=\"ISO-8859-1\"%&gt;\n    &lt;%@ taglib uri=\"<a href=\"http:\/\/java.sun.com\/jsp\/jstl\/core\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/java.sun.com\/jsp\/jstl\/core<\/a>\" prefix=\"c\" %&gt;\n&lt;!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\" \"<a href=\"http:\/\/www.w3.org\/TR\/html4\/loose.dtd\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.w3.org\/TR\/html4\/loose.dtd<\/a>\"&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=ISO-8859-1\"&gt;\n&lt;title&gt;c:choose Example&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;c:set var=\"choice\" value=\"78\"\/&gt;\n&lt;c:choose&gt;\n  &lt;c:when test = \"${choice&gt;90}\"&gt;\n     &lt;c:out value=\"A+\"\/&gt;\n  &lt;\/c:when&gt;\n    &lt;c:when test = \"${choice&gt;80}\"&gt;\n     &lt;c:out value=\"A\"\/&gt;\n  &lt;\/c:when&gt;\n    &lt;c:when test = \"${choice&gt;70}\"&gt;\n     &lt;c:out value=\"B+\"\/&gt;\n  &lt;\/c:when&gt;\n    &lt;c:when test = \"${choice&gt;65}\"&gt;\n     &lt;c:out value=\"B\"\/&gt;\n  &lt;\/c:when&gt;\n    &lt;c:when test = \"${choice&gt;55}\"&gt;\n     &lt;c:out value=\"C\"\/&gt;\n  &lt;\/c:when&gt;\n    &lt;c:when test = \"${choice&gt;40}\"&gt;\n     &lt;c:out value=\"D\"\/&gt;\n  &lt;\/c:when&gt;\n   &lt;c:otherwise&gt;\n     &lt;c:out value=\"F\"&gt;&lt;\/c:out&gt;\n   &lt;\/c:otherwise&gt;\n&lt;\/c:choose&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/ci4.googleusercontent.com\/proxy\/gX34oQWPhm-snqquPA8TESNzniems-e7sS1-J30Q7wlUfnIE92v7nppH5tbkktNw3kOCEE0fVHMwJ8yPLCI1KNX7arxdOHY494MocrJ3FNwDYg3YQA=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image.png\" alt=\"Example of c:choose, c:when, and c:otherwise JSTL Tags\"\/><figcaption><strong>Example of c:choose, c:when, and c:otherwise JSTL Tags<\/strong><\/figcaption><\/figure>\n\n\n\n<h4><strong>c:forTokens Tag<\/strong><\/h4>\n\n\n\n<p>Meanwhile, suppose we have a string and we want to break&nbsp;it&nbsp;into tokens, then we can use the&nbsp;<strong><em>c:forTokens&nbsp;<\/em><\/strong>tag. Basically, this tag iterates through all the tokens which are separated by specified delimiters in a string. the following code shows an example of this tag.<\/p>\n\n\n\n<h4><strong>JSTL Examples of c:forTokens<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code j2\"><code>&lt;%@ page language=\"java\" contentType=\"text\/html; charset=ISO-8859-1\"\n    pageEncoding=\"ISO-8859-1\"%&gt;\n    &lt;%@ taglib uri=\"<a href=\"http:\/\/java.sun.com\/jsp\/jstl\/core\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/java.sun.com\/jsp\/jstl\/core<\/a>\" prefix=\"c\" %&gt;\n&lt;!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\" \"<a href=\"http:\/\/www.w3.org\/TR\/html4\/loose.dtd\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.w3.org\/TR\/html4\/loose.dtd<\/a>\"&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=ISO-8859-1\"&gt;\n&lt;title&gt;c:forTokens Example&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n &lt;c:forTokens items=\"ab;bc;cd;de;ef;fg;gh\" delims=\";\" var=\"i\"&gt;\n   &lt;c:out value=\"${i}\"\/&gt;\n   &lt;br\/&gt;\n &lt;\/c:forTokens&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/ci6.googleusercontent.com\/proxy\/JsSTxD7r1WyTEuIHSapOPzcJ7pMGsuJagZ4-uzdAybzqYzsw7z2E621B7tIeyKk4SFl_E1MheDnJ3Pod0a5RZuDUs-BP5pPH-h9S4xvlo-VxOkTqbqjt=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image-1.png\" alt=\"Example of c:forTokens JSTL Tag\"\/><figcaption><strong>Example of c:forTokens JSTL Tag<\/strong><\/figcaption><\/figure>\n\n\n\n<h4><strong>c:catch Tag<\/strong><\/h4>\n\n\n\n<p>Basically, the&nbsp;<strong><em>c:catch&nbsp;<\/em><\/strong>tag handles the run-time exceptions and gracefully indicates the description of errors. In other words, this tag catches any exception that occurs in the body. The following code shows an example of&nbsp;<strong><em>c:catch&nbsp;<\/em><\/strong>tag.<\/p>\n\n\n\n<h4><strong>JSTL Examples of c:catch<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code j2\"><code>&lt;%@ page language=\"java\" contentType=\"text\/html; charset=ISO-8859-1\"\n    pageEncoding=\"ISO-8859-1\"%&gt;\n    &lt;%@ taglib uri=\"<a href=\"http:\/\/java.sun.com\/jsp\/jstl\/core\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/java.sun.com\/jsp\/jstl\/core<\/a>\" prefix=\"c\" %&gt;\n&lt;!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.01 Transitional\/\/EN\" \"<a href=\"http:\/\/www.w3.org\/TR\/html4\/loose.dtd\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/www.w3.org\/TR\/html4\/loose.dtd<\/a>\"&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\"Content-Type\" content=\"text\/html; charset=ISO-8859-1\"&gt;\n&lt;title&gt;c:catch Example&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;c:catch var=\"cep\"&gt;\n   &lt;%\n      int x=78\/0;\n   %&gt;\n&lt;\/c:catch&gt;\n&lt;c:if test=\"${cep!=null}\"&gt;\n   &lt;c:out value=\"Exception: ${cep}\"\/&gt;\n   &lt;br\/&gt;\n   &lt;c:out value=\"${cep.message}\"\/&gt;\n&lt;\/c:if&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/ci5.googleusercontent.com\/proxy\/hZyTnKeEpVza6qNMSs5OysRZRDwcfv8cyO2NubhEomqt1L_lneXGbWlTiiDyVZoEcqs0AsnVsEy8TeJgZQdQ9mBZExXF9UtL4K6WUpIwb8tWjQL9Nso_=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image-2.png\" alt=\"Example of c:catch JSTL Tag\"\/><figcaption><strong>Example of c:catch JSTL Tag<\/strong><\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<ul><li><a href=\"https:\/\/www.programmingempire.com\/category\/angular\/\" target=\"_blank\" rel=\"noreferrer noopener\">Angular<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/asp-net\/\" target=\"_blank\" rel=\"noreferrer noopener\">ASP.NET<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/c\/\" target=\"_blank\" rel=\"noreferrer noopener\">C<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/c-4\/\" target=\"_blank\" rel=\"noreferrer noopener\">C#<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/c-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">C++<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/css\/\" target=\"_blank\" rel=\"noreferrer noopener\">CSS<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/dot-net-framework\/\" target=\"_blank\" rel=\"noreferrer noopener\">Dot Net Framework<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/html\/\" target=\"_blank\" rel=\"noreferrer noopener\">HTML<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/iot\/\" target=\"_blank\" rel=\"noreferrer noopener\">IoT<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/java\/\" target=\"_blank\" rel=\"noreferrer noopener\">Java<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/javascript\/\" target=\"_blank\" rel=\"noreferrer noopener\">JavaScript<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/kotlin\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kotlin<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/php\/\" target=\"_blank\" rel=\"noreferrer noopener\">PHP<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/power-bi\/\" target=\"_blank\" rel=\"noreferrer noopener\">Power Bi<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/python\/\" target=\"_blank\" rel=\"noreferrer noopener\">Python<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/scratch-3-0\/\" target=\"_blank\" rel=\"noreferrer noopener\">Scratch 3.0<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/typescript\/\" target=\"_blank\" rel=\"noreferrer noopener\">TypeScript<\/a><\/li><li><a href=\"https:\/\/www.programmingempire.com\/category\/vb-net\/\" target=\"_blank\" rel=\"noreferrer noopener\">VB.NET<\/a><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/www.programmingempire.com\/\"><img src=\"https:\/\/www.programmingempire.com\/wp-content\/uploads\/2021\/10\/pefavicon.png\" alt=\"programmingempire\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This article contains some more JSTL Examples. To begin with, the three tags that provide the functionality of the&nbsp;switch\u2026case&nbsp;statement in Java are discussed. c:choose Tag Basically this tag work like the&nbsp;switch\u2026case&nbsp;statement in Java and provides a mutually exclusive conditional operations. c:when Tag Likewise, the&nbsp;c:when&nbsp;tag works as a&nbsp;Case&nbsp;statement in&nbsp;switch\u2026.case&nbsp;statement of Java. Therefore, witin the c:choose tag, &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[4],"tags":[],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>More JSTL Examples - Programmingempire<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.programmingempire.com\/more-jstl-examples\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"More JSTL Examples - Programmingempire\" \/>\n<meta property=\"og:description\" content=\"This article contains some more JSTL Examples. To begin with, the three tags that provide the functionality of the&nbsp;switch\u2026case&nbsp;statement in Java are discussed. c:choose Tag Basically this tag work like the&nbsp;switch\u2026case&nbsp;statement in Java and provides a mutually exclusive conditional operations. c:when Tag Likewise, the&nbsp;c:when&nbsp;tag works as a&nbsp;Case&nbsp;statement in&nbsp;switch\u2026.case&nbsp;statement of Java. Therefore, witin the c:choose tag, &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.programmingempire.com\/more-jstl-examples\/\" \/>\n<meta property=\"og:site_name\" content=\"Programmingempire\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-30T09:09:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-06T05:52:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ci4.googleusercontent.com\/proxy\/gX34oQWPhm-snqquPA8TESNzniems-e7sS1-J30Q7wlUfnIE92v7nppH5tbkktNw3kOCEE0fVHMwJ8yPLCI1KNX7arxdOHY494MocrJ3FNwDYg3YQA=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Team - Programmingempire\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.programmingempire.com\/#website\",\"url\":\"https:\/\/www.programmingempire.com\/\",\"name\":\"Programmingempire\",\"description\":\"Learn Programming Easily\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.programmingempire.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.programmingempire.com\/more-jstl-examples\/#primaryimage\",\"inLanguage\":\"en\",\"url\":\"https:\/\/ci4.googleusercontent.com\/proxy\/gX34oQWPhm-snqquPA8TESNzniems-e7sS1-J30Q7wlUfnIE92v7nppH5tbkktNw3kOCEE0fVHMwJ8yPLCI1KNX7arxdOHY494MocrJ3FNwDYg3YQA=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image.png\",\"contentUrl\":\"https:\/\/ci4.googleusercontent.com\/proxy\/gX34oQWPhm-snqquPA8TESNzniems-e7sS1-J30Q7wlUfnIE92v7nppH5tbkktNw3kOCEE0fVHMwJ8yPLCI1KNX7arxdOHY494MocrJ3FNwDYg3YQA=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image.png\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.programmingempire.com\/more-jstl-examples\/#webpage\",\"url\":\"https:\/\/www.programmingempire.com\/more-jstl-examples\/\",\"name\":\"More JSTL Examples - Programmingempire\",\"isPartOf\":{\"@id\":\"https:\/\/www.programmingempire.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.programmingempire.com\/more-jstl-examples\/#primaryimage\"},\"datePublished\":\"2021-09-30T09:09:00+00:00\",\"dateModified\":\"2022-04-06T05:52:42+00:00\",\"author\":{\"@id\":\"https:\/\/www.programmingempire.com\/#\/schema\/person\/be75190ecbd3faccab55d36d1c1b81a7\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.programmingempire.com\/more-jstl-examples\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.programmingempire.com\/more-jstl-examples\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.programmingempire.com\/more-jstl-examples\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.programmingempire.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"More JSTL Examples\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.programmingempire.com\/#\/schema\/person\/be75190ecbd3faccab55d36d1c1b81a7\",\"name\":\"Team - Programmingempire\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.programmingempire.com\/#personlogo\",\"inLanguage\":\"en\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7f9ccea8eb38b9d61feb1595577380a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7f9ccea8eb38b9d61feb1595577380a9?s=96&d=mm&r=g\",\"caption\":\"Team - Programmingempire\"},\"sameAs\":[\"https:\/\/programmingempire.com\/\"],\"url\":\"https:\/\/www.programmingempire.com\/author\/tomato\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"More JSTL Examples - Programmingempire","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.programmingempire.com\/more-jstl-examples\/","og_locale":"en_US","og_type":"article","og_title":"More JSTL Examples - Programmingempire","og_description":"This article contains some more JSTL Examples. To begin with, the three tags that provide the functionality of the&nbsp;switch\u2026case&nbsp;statement in Java are discussed. c:choose Tag Basically this tag work like the&nbsp;switch\u2026case&nbsp;statement in Java and provides a mutually exclusive conditional operations. c:when Tag Likewise, the&nbsp;c:when&nbsp;tag works as a&nbsp;Case&nbsp;statement in&nbsp;switch\u2026.case&nbsp;statement of Java. Therefore, witin the c:choose tag, &hellip;","og_url":"https:\/\/www.programmingempire.com\/more-jstl-examples\/","og_site_name":"Programmingempire","article_published_time":"2021-09-30T09:09:00+00:00","article_modified_time":"2022-04-06T05:52:42+00:00","og_image":[{"url":"https:\/\/ci4.googleusercontent.com\/proxy\/gX34oQWPhm-snqquPA8TESNzniems-e7sS1-J30Q7wlUfnIE92v7nppH5tbkktNw3kOCEE0fVHMwJ8yPLCI1KNX7arxdOHY494MocrJ3FNwDYg3YQA=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"Team - Programmingempire","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.programmingempire.com\/#website","url":"https:\/\/www.programmingempire.com\/","name":"Programmingempire","description":"Learn Programming Easily","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.programmingempire.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en"},{"@type":"ImageObject","@id":"https:\/\/www.programmingempire.com\/more-jstl-examples\/#primaryimage","inLanguage":"en","url":"https:\/\/ci4.googleusercontent.com\/proxy\/gX34oQWPhm-snqquPA8TESNzniems-e7sS1-J30Q7wlUfnIE92v7nppH5tbkktNw3kOCEE0fVHMwJ8yPLCI1KNX7arxdOHY494MocrJ3FNwDYg3YQA=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image.png","contentUrl":"https:\/\/ci4.googleusercontent.com\/proxy\/gX34oQWPhm-snqquPA8TESNzniems-e7sS1-J30Q7wlUfnIE92v7nppH5tbkktNw3kOCEE0fVHMwJ8yPLCI1KNX7arxdOHY494MocrJ3FNwDYg3YQA=s0-d-e1-ft#https:\/\/programmingempire.com\/wp-content\/uploads\/2021\/10\/image.png"},{"@type":"WebPage","@id":"https:\/\/www.programmingempire.com\/more-jstl-examples\/#webpage","url":"https:\/\/www.programmingempire.com\/more-jstl-examples\/","name":"More JSTL Examples - Programmingempire","isPartOf":{"@id":"https:\/\/www.programmingempire.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.programmingempire.com\/more-jstl-examples\/#primaryimage"},"datePublished":"2021-09-30T09:09:00+00:00","dateModified":"2022-04-06T05:52:42+00:00","author":{"@id":"https:\/\/www.programmingempire.com\/#\/schema\/person\/be75190ecbd3faccab55d36d1c1b81a7"},"breadcrumb":{"@id":"https:\/\/www.programmingempire.com\/more-jstl-examples\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.programmingempire.com\/more-jstl-examples\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.programmingempire.com\/more-jstl-examples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.programmingempire.com\/"},{"@type":"ListItem","position":2,"name":"More JSTL Examples"}]},{"@type":"Person","@id":"https:\/\/www.programmingempire.com\/#\/schema\/person\/be75190ecbd3faccab55d36d1c1b81a7","name":"Team - Programmingempire","image":{"@type":"ImageObject","@id":"https:\/\/www.programmingempire.com\/#personlogo","inLanguage":"en","url":"https:\/\/secure.gravatar.com\/avatar\/7f9ccea8eb38b9d61feb1595577380a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7f9ccea8eb38b9d61feb1595577380a9?s=96&d=mm&r=g","caption":"Team - Programmingempire"},"sameAs":["https:\/\/programmingempire.com\/"],"url":"https:\/\/www.programmingempire.com\/author\/tomato\/"}]}},"_links":{"self":[{"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/posts\/578"}],"collection":[{"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/comments?post=578"}],"version-history":[{"count":3,"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/posts\/578\/revisions"}],"predecessor-version":[{"id":4743,"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/posts\/578\/revisions\/4743"}],"wp:attachment":[{"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/media?parent=578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/categories?post=578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.programmingempire.com\/wp-json\/wp\/v2\/tags?post=578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}