title: Display one record at a time using JSP Previous and Next button after form submit/update
body: <p>I have a jsp called ClaimSearchResult.jsp which contains the list of claimids (Either Proposed/Generated claims list).</p>
  <pre><code>ClaimSearchResult.jsp : We have below values.    
  
  List results = (List) request.getAttribute(&quot;searchResults&quot;);     
  String startrecord = (String) request.getAttribute(&quot;startRecord&quot;);     
  String totalrecord = (String) request.getAttribute(&quot;totalrecord&quot;);     
  
  Then, User can click on any claim id and can see the details of it.   
  
  &lt; A href = # onclick=&quot;return gotoClaimDetail(&lt;%=claim.getClaimNumber()%&gt;)&quot;&gt; &lt;/a&gt;
  
  After clicking the link, call goes to servlet and return the details of claim and user can update any details in that claim. 
  Now I want to add Previous and Next buttons in the claimview page.  
  
  Can you please help how to implement this functionality ? I don't want to use JSTL here.
  
  It would be great if someone can help? Thanks in advance.     
  </code></pre>