title: How to change month dynamically in JSP?
body: <p>In my program, there are two buttons and in the center of the two buttons there is a space for month to display dynamically using JSP, e.g. <code>&lt;&lt; current month &gt;&gt;</code>. The <code>&lt;&lt;</code> and <code>&gt;&gt;</code> are two buttons.</p>
  
  <p>I need a logical or a programmatic explanation for the following to occur:</p>
  
  <ul>
  <li>When I click on the left button the previous month of the current month should display.</li>
  <li>When I click on the right button the next month of the current month should display.</li>
  </ul>
  
  <p>This should happen dynamically. How can I do that with help of JSP, JS and/or Ajax?</p>