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 Displaying Table contents 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 "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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Displaying Table contents
 
Similar Threads
Passing a collection to javascript
validation.xml - how to ignore the required fields if a checkBox was clicked?
dynamic data arranged in alphabetical order in html:select and html:options
html:select in Struts
JSTL vs struts tag