found out that in tomcat 4.1, el can ONLY be used inside of the jstl tags.
downloading tomcat 5 right now..

"pls" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 'bean1' is a bean created by logic:iterate and contains 'myHashMap'.
>
> I am trying to access the 'key' property of the bean so that i can set the
> property -'prop1'.
>
> setting the value of 'prop1' changes the value returned from the getter
for
> 'prop2'.
>
> I have tried the following but it sets 'prop1' to the string literal
> "pageScope.bean1.key" instead of the evaluated expression for the bean.  i
> am new to struts with el so any help is greatly appreciated.  perhaps it
is
> just a simple config error on my part..
>
>     <logic:iterate id="bean1" name="aForm" property="myHashMap">
>
>           <jsp:setProperty name="aForm" property="prop1"
> value="${pageScope.bean1.key}"/>
>
>           <bean:write name="aForm" property="prop2"/>
>
>      </logic:iterate>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to