Thank you Monkeyden, 1) That exactly what I want, but I did not understand : > Expects a table1RowNum parameter (from clicking on one of the rows > in table1 I have never used AJAX, is there any example on how to do it with ajax ? thank you,
Monkeyden <[EMAIL PROTECTED]> wrote: If I understand you correctly, here is how it might look: YourActionForm Collection table1Data (retrieved from persistence on the first request of the Action) Collection table2Data (empty on first request) YourAction Loads table1 data Expects a table1RowNum parameter (from clicking on one of the rows in table1) but can run without it for the initial request If param exists, load table2 data and forward to your.jsp your.jsp (or whatever test you want) [print table 2 data] This also looks like a prime candidate for AJAX. On 8/11/06, A. Lotfi wrote: > I am trying to have in my jsp page two tables : > > First table : Select the package : > row1 > row2 > row3 > ... > row10 > > each time the user select a row, the rows in the second table change : > for example if the user click in row2 the second table will be like this : > > Second Table : Select the page to print : > row2Page1 > row2Page2 > ... > row2Page6 > > > Could you please give me an idea on how to do it, thanks your help is > appreciated. > > > > --------------------------------- > Do you Yahoo!? > Get on board. You're invited to try the new Yahoo! Mail Beta. > --------------------------------- Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta.