struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shashi_struts" <>
Subject how to get a single value from hashtable
Date Thu, 06 Mar 2003 06:04:42 GMT
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

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