title: passing value to the next page by clicking on submit button
body: <p>Friends,
          I want to pass text field value to next jsp page . When i am trying to do this next jsp page always show null value for that variable. 
  please tell me how can i do this.......</p>
  
  <p>my code is </p>
  
  <pre><code>   &lt;form name="lab" action="second.jsp" method="get"&gt;
     &lt;table&gt;
              &lt;tr&gt;
  
      &lt;td style="margin-left:10px"&gt;Enter Lab&lt;/td&gt;
      &lt;td&gt;&lt;select name="labName"&gt;
          &lt;option&gt;--select lab---&lt;/option&gt;
          &lt;option&gt;Lab-01&lt;/option&gt;
          &lt;option&gt;Lab-02&lt;/option&gt;
          &lt;option&gt;Lab-03&lt;/option&gt;
          &lt;option&gt;Lab-04&lt;/option&gt;
          &lt;option&gt;Lab-05&lt;/option&gt;
          &lt;option&gt;Lab-06&lt;/option&gt;
          &lt;option&gt;Lab-07&lt;/option&gt;
          &lt;option&gt;Lab-08&lt;/option&gt;
          &lt;option&gt;Lab-09&lt;/option&gt;
          &lt;option&gt;Lab-10&lt;/option&gt;
      &lt;/select&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  
      &lt;td  width=100px&gt;Enter Location&lt;/td&gt;
      &lt;td&gt; &lt;select name="location"&gt;
          &lt;option&gt;--select location--&lt;/option&gt;
      &lt;%  
          for(i=1;i&lt;=60;i++)
          {
              %&gt;&lt;option&gt;&lt;%out.print(i);%&gt;&lt;/option&gt;&lt;%
          }
      %&gt;
          &lt;/select&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  
      &lt;td   width=100px&gt;Enter System ID &lt;/td&gt;
      &lt;td&gt;&lt;input type=text name=lab name="sysId" value="Sys. Id" size=10&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;&lt;hr&gt;&lt;b&lt;/td&gt;
      &lt;td&gt;&lt;hr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td align=center class="cells"  width=100px&gt;&lt;input type="submit" name=submit value=ADD hight=10px width=20px onclick="move();"&gt;&lt;/td&gt;
      &lt;td align=center class="cells"  width=10px &gt;&lt;input type=button name=submit value=cancel&gt;
   &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>and next page second.jsp</p>
  
  <pre><code> &lt;%
                  String id=request.getParameter("sysId");
                  out.print(id);
    %&gt;
  </code></pre>
  
  <p>It give null as output.</p>