<bean:define id="value" name="myBeanName" property="its property">
<someTag value="<%= value %>">

Nico.



> 
> Dear All;
> 
> Using <bean:write name="myBeanName" property="its property"> works properly
> in my jsp page body. But when I want to use it in a tag to fill its
> attribute, it fails.
>  Actually I don't know the syntax of using bean:write, obviously the below
> way is wrong:
> 
> <someTag value="<bean:write name="myBeanName" property="its property">">
> 
> Using expression is wrong, too:
> 
> <someTag 
>      value="<%=<bean:write name="myBeanName" property="its property">%>">
> 
> So how could I use bean:write in my tags?!
> 
> Any help would be greatly appreciated
> Nafise
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to