I am having a little problem in taking a list of search results that I generate from a JSP page, and when selecting the checkbox I want to view a particular resources result for, displays the wrong information. I can get the first result to be able to display the correct information on a particular resource, but when I want to view the second or third result, I get the first result resource information instead. I am not very good at explaining the situation, so I shall provide an example:
I search for Harry Potter books, this is sent to the server to obtain the search results and generates a page with the results. On the results page I have checkboxes beside each search result. I check the first and click on "view information", this generates a new page from the server, with all the details of the first search result - This part is fine.
However, if I perform my search again, and check the second search result, and generate a new page with the second search result's details, it just gives me the first results detailed information, and not the second result's detailed information - This part is the problem, and the same applies to the other search results.
So my question is why is it displaying the detailed information for the first search result, when I ask for the second search result's detailed information?
Here is my code:
Sorry for the long posting, but hopefully you can help me.