File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes logic:iterate help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logic:iterate help" Watch "logic:iterate help" New topic

logic:iterate help

shilpa tendulkar

Joined: May 09, 2006
Posts: 2

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

Joined: Feb 15, 2005
Posts: 4864
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.

Consultant, Sima Solutions
I agree. Here's the link:
subject: logic:iterate help
jQuery in Action, 3rd edition