title: How to pass data from Java class to a JSP page
body: <p>I am a newbie in JSP and Dynamic web projects. My project structure is shown as below. 
  Basically, I am having a variable temperature in my SparkStreaming class which is generated in every 2 seconds and I wish to pass this value to the A.JSP page . 
  I shall be generating few charts based on the JSP page. </p>
  
  <p>How can I achieve this in Java?<a href="https://i.stack.imgur.com/XdC6K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XdC6K.png" alt="enter image description here"></a></p>