title: How to get values from an dynamic html page?
body: <p>I have an old Java program that used to get data from an html page, worked fines few years ago, now when I run it, there is no data. The page link is :</p>
  
  <p><a href="http://www.batstrading.com/book/ibm/" rel="nofollow">http://www.batstrading.com/book/ibm/</a></p>
  
  <p>I can still see the html table got from my Java program, but there is no data, but if you use a browser to get to that page, you can see data dynamically changing, why ?</p>
  
  <p>The html text I now get with my Java program from the page is like the text you can see from the browser's view source, looks like this :</p>
  
  <pre><code>    &lt;tbody&gt;
        &lt;tr&gt;
          &lt;td class="shares"&gt;&amp;nbsp;&lt;/td&gt;
          &lt;td class="price"&gt;&amp;nbsp;&lt;/td&gt;
        &lt;/tr&gt;
  </code></pre>
  
  <p>Instead of data, it is showing <code>&amp;nbsp;</code></p>
  
  <p>How to fix my code to get the data ? What I mean is : there is nothing wrong with the Java program, it's getting the text just like the browser's view source, you don't see the data, because the page is now dynamic, so how to use Java to get data from a dynamic page is the question.</p>