This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "logic:iterate help" Watch "logic:iterate help" New topic
Author

logic:iterate help

shilpa tendulkar
Greenhorn

Joined: May 09, 2006
Posts: 2
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

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.


Merrill
Consultant, Sima Solutions
 
Consider Paul's rocket mass heater.
 
subject: logic:iterate help
 
Similar Threads
Checkbox Issue
No getter method??
table with editable fields
how to use html:checkbox and requestgetParameterValues() in association
Interview question