Hi All,
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?
Thanks,
Srinivas.J
Discussions
Web tier: servlets, JSP, Web frameworks: using indexed property of javabean in <jsp:............/>
-
using indexed property of javabean in <jsp:............/> (1 messages)
- Posted by: Srinivas Janakiraman
- Posted on: March 14 2001 10:09 EST
Threaded Messages (1)
- using indexed property of javabean in <jsp:............/> by Gordon Reynolds on March 14 2001 16:38 EST
-
using indexed property of javabean in <jsp:............/>[ Go to top ]
- Posted by: Gordon Reynolds
- Posted on: March 14 2001 16:38 EST
- in response to Srinivas Janakiraman
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) %>
Gordon.