Hi,
> HashMap myMap = someClass.getMyMap();
<bean:define can do this.
> myMap.put("1", "one");
struts is designed for presentation logic, so this isn't in it's scope.
Have you seen Larry's struts white paper at:-
http://stealthis.athensgroup.com/presentations/
hope this helps = Keith.
--- Elijah Jacobs <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am trying to achieved the following code below using only tags:
>
> <%
> HashMap myMap = someClass.getMyMap();
> myMap.put("1", "one");
> %>
>
> someClass would return a HashMap.
>
> I can't seem to find an example of how this can be done.
>
> can someone point me to an example (or show me a example)?
>
> - ej
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275
__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>