I wouldn't do it with checkboxes and buttons. I would make the last name a link to the details page with the person's id as a request parameter. This is much easier and less clicks for the user.
The link would look like <a href="details.jsp?id=12">Smith</a> Dave >From: Ashish Kulkarni <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Need Help in struts desing issue >Date: Fri, 6 Sep 2002 09:18:50 -0700 (PDT) > >Hi, >I m developing web site in struts, and need some help >in desing issue, >I have a jsp where in I display table of records for >name, last name, phone , each row has a check box, and >there is a button called details, >so if the user selects one check box and clicks >details, i have to show a detail.jsp with all the >details of that person, like his address etc. >This check box value will be unique key, so i will >pass this unique key to detail.jsp >I have a bean which can get the details when i provide >the unique key, >so how can i go about it, like define this bean in the >detail.jsp and while i am loading the page call a >method on this bean which will set the parameters . or >in my Action class for the previous page have some >logic. >can anyone provide with some code , struts-config file >about doing it in a nice way in struts, > > > >===== >A$HI$H > >__________________________________________________ >Do You Yahoo!? >Yahoo! Finance - Get real-time stock quotes >http://finance.yahoo.com > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

