Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use of hashtable with struts and jstl

shashi pahwa
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am using the struts and jstl in my web application and using the logic:iterate for iterating the hashtable,arraylist.
I faced the problem at this point:-
i am getting any tag for retrival of only one value from the hashtable that we are getting through java function.
Hashtable hash=new Hashtable();
the code i am using in java is
if(hash.contains(new String("one"))
String value=hash.get(new String("one"))
but i am not getting this using struts or jstl
Please help me
shashi bhushan
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic