title: JSP name parameter dynamically displaying in the same JSP page as string
body: <p>I need to display the value entered in the first <code>input type = text</code> as a <code>String</code> using <code>out.println()</code> within the same JSP dynamically, now I am able to display the text entered in the first text field into an another i.e., the second text field.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;html&gt; 
  &lt;body&gt;
      &lt;script&gt;
      function jspFunction()
      {
          var dat = document.getElementById("dateId").value;
          document.getElementById("dateId1").value = dat;
      }
      &lt;/script&gt;
  
  &lt;p&gt;Input text : &lt;input type="text" name="dateName" id="dateId" size="30" onchange="jspFunction()"/&gt;&lt;/p&gt;
  &lt;p&gt;Output text area : &lt;input type="text" name="dateName1" id="dateId1"/&gt;&lt;/p&gt; // I am getting proper o/p here
  
  &lt;%
  String ss = request.getParameter("dateName1");
  out.println("Converted to string   :" + ss); // The string value is displaying as null
  %&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I need the <code>String ss</code> value dynamically changed and displayed automatically below the o/p of html text tag field.</p>
  
  <p>I am not sure if <code>String ss = request.getParameter("dateName1");</code> is even receiving the value.</p>