By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,841 Members | 840 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,841 IT Pros & Developers. It's quick & easy.

Making an array of beans accessible from .jsp

P: n/a
Hello out there,

I have seen the docuemntation for the accessing of an array of beans
from a .jsp here at:

http://struts.apache.org/faqs/indexedprops.html

Has anyone acutally done this? I have gotten this to work for something
simple (like an array of strings) but have not seen anything for an
array of **complex** beans being used by a .jsp.

By complex beans, these are beans with their own getters and setters.
Please help :-(

TIA

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"milkyway" <d0******@hotmail.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
Hello out there,

I have seen the docuemntation for the accessing of an array of beans
from a .jsp here at:

http://struts.apache.org/faqs/indexedprops.html

Has anyone acutally done this? I have gotten this to work for something
simple (like an array of strings) but have not seen anything for an
array of **complex** beans being used by a .jsp.

By complex beans, these are beans with their own getters and setters.
Please help :-(

Use the . operator. "myArray[1].property"

That page uses the bean tag. The Struts documentation recommends using JSTL
whenever possible. I'd recommend looking in to it.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.