Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: using Hashtabe with Iterator class


Message #1 by pamarraj@d... on Sat, 20 Jan 2001 13:27:02 +0530
<P>hai guys,</P><P>u use Hashtabe to store values and later retrieve it usi
ng the Iterator class in a jsp page.but if i call the page for the third ti
me i get a null pointer exception.</P><P>i  have declared a the iterat
or inside a while loop as i want to search the whole hashtabe each time in 
the loop.If i declare the iterator outside the while loop i dont get the er
ror,but the hashtabe is searched only for the first iteration of the while 
loop as the iterator points to the last hash element.is there a way to re-p
oint the iterator.</P><P>bye</P><P>paul j</P><P></P>

  Return to Index