> Is it possible to supply some parameter as expression for > property getter in bean:write tag ? I'd like to write bean > property supplying the result of other bean property as the > input parameter in my JSP page. If it isn't, is there any way > to do this?
There are a couple of ways to do this, depending on your parameter. If you have an object "myVar" with a method "getFoo()" which takes an int parameter, then you can do something like this: <% int i = 5; %> <bean:write name="myVar" property="<%="foo["+i+"]"%>"/> Otherwise, you're going to have to define a bean like this: <bean:define id="temp"><%=myVar.getFoo(param1,param2)%></bean:define> Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]