How to refresh View object from java class
918581Jul 11 2012 — edited Jul 11 2012Hi,
Consider two tables.
1 table consists 'ID', 'NAME' and 'KEY' .
2 table consists of 'KEY' and 'VALUE'.
Initially am passing ID so i will get 'NAME' , 'KEY' and corresponding 'VALUE' and display it on page.
Then am Changing the KEY in a action listener and comiting to the database.
As soon as i press save the KEY is getting changed but the corresponding VALUE is not refreshing.
But it will appear if we reload the page. But i dont want to do that. So please tell me some way to refresh it from action listener itself after comiting to the database.
Thanks,
Hari