In one class i stored the key and values in the hashmap.so using key value i have to check wheterthe value for key is correct or not.so howto retreive the key and values in jsp page

Showing Answers 1 - 5 of 5 Answers

trupti saraf

  • Nov 4th, 2005
 

i want answer of this ques. plz send me thank u

  Was this answer useful?  Yes

chandramohan

  • Nov 4th, 2005
 

in one class i stored the key and values in the hashmap.so using key value i have to check wheter
the value for key is correct or not.so how
to retreive the key and values in jsp page

  Was this answer useful?  Yes

pankaj

  • Jan 9th, 2006
 

Hi

You can use it by writing a code in Scriptlets in jsp where u can retirve the Hashmap (from Session, Request,Application) and pass the key entered by user to check the value .

or use Struts framework and using its logic tag library , (logic itereate and logic:equal) this functionality can be achieved easily

  Was this answer useful?  Yes

rameshkumar

  • Jul 20th, 2006
 

You can place the HashTable inside the setAttribute() method of the request object so that it can be accessed in the other page using the getAttribute() method.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions