wood burning stoves*
The moose likes Struts and the fly likes Displaying Table contents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying Table contents" Watch "Displaying Table contents" New topic
Author

Displaying Table contents

Hiroyuki Suzuki
Greenhorn

Joined: Jul 25, 2007
Posts: 24
Hello guys..
Please help me in displaying the contents of the table.
I have the following in my database:
3 radio buttons (siteName/siteSequence)
each siteSequence has the following select options (siteTemplate/siteTemplateSequence)
Example:



For every siteList(radio button), it will display the corresponding siteTemplate

Now I have this code in my JSP


In the above code, the 3 buttons are displayed and each has their select options, but the contents of each options
does not corresponds to each siteSequence, instead it displays all the siteTemplate for each select options
(A,B,C,D,E,F,G,H,I)..

How will I connect the siteSequence to the siteTemplate so that it will display only the corresponding siteTemplate for
each siteName?

Please help me..

Hiro
Hiroyuki Suzuki
Greenhorn

Joined: Jul 25, 2007
Posts: 24
there are some mistakes in the siteTemplateSequence.

Wrong:

Correct
 
jQuery in Action, 2nd edition
 
subject: Displaying Table contents
 
Similar Threads
JSTL vs struts tag
Passing a collection to javascript
html:select in Struts
dynamic data arranged in alphabetical order in html:select and html:options
validation.xml - how to ignore the required fields if a checkBox was clicked?