Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to refresh View object from java class

918581Jul 11 2012 — edited Jul 11 2012
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2012
Added on Jul 11 2012
2 comments
425 views