Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Double Iteration

 
Pranjal Gaur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

In my application, I have a Form(AppSubListForm) which contains a list element : AppSubBeanList. This is basically a list of beans(AppSubBean). Lets say this bean has a property AppName. Now to iterate and get the names of different beans i am using the following code in my JSP :



Now, if i want to add another element linkBeanList, which is again a list of beans(LinkBean) and I want to fetch the property of the bean (LinkName) what should I do..?
I am using this code:




The above code gives me an error in my JSP page : Cannot find bean appSubBeanList in any scope'


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"nested" is not a standard JSP tag library. If you are using a framework, we need to know which one.
 
Pranjal Gaur
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using struts...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic