struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cilquirm <aadi.deshpa...@gmail.com>
Subject Re: S2: HashMap - from jsp to action
Date Thu, 09 Aug 2007 22:24:38 GMT

the way to construct a map in ognl is 

%{ key : value , key : vale } 



http://www.opensymphony.com/ognl/html/LanguageGuide/collectionConstruction.html#mapConstruction

hth,
-a



Hartrich, James CTR USTRANSCOM J6 wrote:
> 
> I'm iterating a collection (keys) from s:action to get corresponding
> hashmap (values) from aforementioned s:action then creating multiple
> s:select.
> 
>  
> 
> Does anyone know how to construct a hashmap with ognl on a jsp? What
> type is then needed on the action to populate the hashmap? 
> 
>  
> 
>  
> 
> James
> 
>  
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/S2%3A-HashMap---from-jsp-to-action-tf4238260.html#a12082014
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message