How can I carry information from one page to another page?

Hi, I have two different pages and two different tables on them. As city and home pages and tables. I want to add new record in arrays of House which is based on the tables in the city and they must be on different pages, I want to say I can't use master-detail tables or master-detail forms.
So here's the problem: this two tables have same column called cityId. And I have a button on the page of the city called 'create new home' how can I carrying Cityid information page of the city of haouse page when I pressed the button. Thanks for your help.

Button, you can use thet setActionListener to assign a property of bean used in the second page, support the cityId
as follows


Tags: Java

Similar Questions

Maybe you are looking for