Ok guys, i got it
I suppose i was using a different version of
struts wherein using the %{} was required for the expression to be evaluated. I changed the jar files now. This is what did the job for me
<s:property value="#mymap.[#mykey2]"/>
My problem was coming because i was trying to use it in a href for a s:a tag. And without the %{} operator, the expression was not being evaluated.
So, i guess, i was right in the beginning itself. Rest of the time, it was just me making silly mistakes. :>
Regards,
Ryan Sukale