- Posted by: Srinivas Janakiraman
- Posted on: March 14 2001 10:09 EST
I want to use <jsp:getproperty> or <jsp:setproperty> tags to access indexed property of my bean.
Can anyone please tell me how to set the index value for the bean in these tags?
- using indexed property of javabean in <jsp:............/> by Gordon Reynolds on March 14 2001 16:38 EST
Srinivas, the jsp:get/setProperty tags don't allow indexed properties. You'll be better off rolling your own custom tags to provide for calling parameters. Or, resort to using:
<%= object.getSomething(index) %>