title: Passing a a value when user clicked on link
body: <p>In my jsp page I have input field and a hyperlink beside the input field. My page 1 JSP looks like this:</p>
  
  <pre><code>&lt;input name="item1" type="text"/&gt; &lt;a: href="page2"&gt;Search for item&lt;/a&gt;
  &lt;input name="item2" type="text"/&gt; &lt;a: href="page2"&gt;Search for item&lt;/a&gt;
  </code></pre>
  
  <p>When the user click on one of the link, it will go to page 2 where the user will be presented with a list of item, each of which is a link also. The page 2 jsp looks like this:</p>
  
  <pre><code>&lt;ul&gt;
     &lt;li&gt;&lt;a:href="page1"&gt;Item 1&lt;/a&gt;&lt;/li&gt;
     &lt;li&gt;&lt;a:href="page2"&gt;Item 2&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>When the user click on a link on page 2, let say user click on Item 1, I need to go back to page 1 and put Item 1 in the textbox in page 1 . Which textbox the Item 1 will be put into depend on which link on page 1 the user click. For example, if the user click on the first link in page 1 to go to page2, when the user click the link in page 2, the value of the link that user click will go to the first textbox. How can I accomplish this? I am developing the code in websphere commerce. </p>