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

Using Html:radio with logic:iterate

patriot indian

Joined: May 20, 2009
Posts: 9
Hiii...i am facing a problem...
I have to get the data from the database into my jsp page...Initially only few fields of the data should be there...Like Suppose there are 10 users..Then first of all the user sees the data of all 10 users

Serial no Field 1 Field2 Fileld3 Select

Here Field 1,2 and 3 are containing the field values form the database and nbeneath select is a buttowhich on pressing redirects us to a page where user can see the whole record of the if the user clicks on the select button of user2 he should see all the records of user2 ...How to do this problem...I am getting the data in the above mentioned format but how to get data of only one user based on the click he makes is what is baffling me...any thoughts

Please Help...
David Newton

Joined: Sep 29, 2008
Posts: 12617

I'm not sure what radio buttons have to do with this. Wouldn't you just want to create a link with the ID of each item and have a page that retrieves the complete item details?
I agree. Here's the link:
subject: Using Html:radio with logic:iterate
It's not a secret anymore!