Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logic:iterate help

 
shilpa tendulkar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am new to struts and need someone's help to get through this problem.

I am having list of facilities and their types. for eg. Facility type
'Bussiness' has facilities like bussinees center,fax,internet etc similarly
facility type 'Apartment' has faciliites like B&B, Spa, Heath club etc.

I want to display these facilties by their types.
Using logic:iterate, I am able to display those facilites but can anyone help me with the code logic to display facilties by category/type.



Thanks in advance.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We're happy to help, but generally it's better if you first spend some time reading and doing some tutorials. Then come up with some sort of design, even if you're not sure it will work.

Once you have done this, it's much easier for us to answer specific questions that arise or critique your design than it is to come up with a design for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic