title: Getting ArrayList Size on jsp page
body: <p>hi I am trying to get the total size of an arraylist but for some reason this is not being shown the code below is used to show the size.</p>
  
  <pre><code>    &lt;%db.DBConnection db = new  db.DBConnection(); 
              ArrayList&lt;User&gt; myUsers =db.getAllUsers();
              %&gt;  
  
     Total Subscribed Users: &lt;p&gt;&lt;% myUsers.size();%&gt;&lt;/p&gt;
  </code></pre>
  
  <p>Thanks</p>