struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shashi_struts" <shashipahw...@hotmail.com>
Subject how to get a single value from hashtable
Date Thu, 06 Mar 2003 06:04:42 GMT
hi 
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.
ex:-
Hashtable hash=new Hashtable();
hash.put("one","first");
hash.put("two","second"); 
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
Regards


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message