title: Outputting Map<String, Map<String,List<String>>> in jsp using jstl
body: <p>I've data in the below format.</p>
  
  <pre><code>Map&lt;String, Map&lt;String,List&lt;String&gt;&gt;&gt;
  </code></pre>
  
  <p>example - <code>{ProfileAdaptarRepository={active=[true,false,true,true]}}}</code></p>
  
  <p>I did set page context in <code>mymap</code> in the below scriptlets and it works absolutely fine.</p>
  
  <pre><code>&lt;%  pageContext.setAttribute("mymap",example);%&gt;
  </code></pre>
  
  <p>I need data in the below html tabular format:</p>
  
  <p><a href="https://i.stack.imgur.com/0SiDY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0SiDY.png" alt="enter image description here"></a></p>
  
  <p>Sample HTML source code for the above image.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;body&gt;
  &lt;table border="1"&gt;
    &lt;tr&gt;
     &lt;th&gt;Component&lt;/th&gt;
     &lt;th&gt;Properties&lt;/th&gt;
     &lt;th&gt;J01&lt;/th&gt;
     &lt;th&gt;J02&lt;/th&gt;
     &lt;th&gt;W01&lt;/th&gt;
     &lt;th&gt;W02&lt;/th&gt;
  
    &lt;/tr&gt;
    &lt;tr&gt;
     &lt;td&gt;StoreConfiguration&lt;/td&gt;
     &lt;td&gt;active&lt;/td&gt;
     &lt;td&gt;true&lt;/td&gt;
     &lt;td&gt;false&lt;/td&gt;
     &lt;td&gt;true&lt;/td&gt;
     &lt;td&gt;false&lt;/td&gt;
  
    &lt;/tr&gt;
    
    &lt;tr&gt;
     &lt;td&gt;DynamoConfiguration&lt;/td&gt;
     &lt;td&gt;enabled&lt;/td&gt;
     &lt;td&gt;true&lt;/td&gt;
     &lt;td&gt;false&lt;/td&gt;
     &lt;td&gt;true&lt;/td&gt;
     &lt;td&gt;false&lt;/td&gt;
  
    &lt;/tr&gt;
   &lt;/table&gt;
   
   &lt;/body&gt;
   &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I tried to present the above data in webpage using the below <code>jstl</code> code, but it didn't work for plural component values (more than 1 components)</p>
  
  <pre><code>&lt;c:forEach var = "comp" items="${mymap}"&gt;
      &lt;tr&gt;
          &lt;td&gt;${comp.key}&lt;/td&gt;
          &lt;c:forEach var="prop" items="${comp.value}"&gt;
               &lt;td&gt;${prop.key}&lt;/td&gt;
               &lt;c:forEach var="val" items="${prop.value}"&gt;
                    &lt;td&gt;${val}&lt;/td&gt;
               &lt;/c:forEach&gt;
          &lt;/c:forEach&gt;
      &lt;/tr&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <p>Can someone please help or guide me in achieving the desired tabular format?</p>
  
  <p>Many Thanks in advance..:)</p>