aspose file tools*
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
Author

Using Html:radio with logic:iterate

patriot indian
Greenhorn

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
User1
User2
.
.
.
.
.
User10

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 user..like 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
Author
Rancher

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?
 
Consider Paul's rocket mass heater.
 
subject: Using Html:radio with logic:iterate