title: How to use Value of an Variable of JSP page in JAVA CLASS
body: <p>I know its easy to use values of form ,from jsp to java,But how to use a variable value of JSP code into java class.
  For e.g., I want to use value of vlaue in a java class
  any help will be appreciated,thanx</p>
  
  <pre><code>  &lt;%
       String value=null;
      value= (String) session.getAttribute("name");
  
      %&gt;
  </code></pre>