Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
2 つの JSF アプリケーションがあります。データを取得し、コード マジックを実行してから、ファイルに出力します。これは n 秒ごとに発生します。私がやりたいことは、2 番目の JSF アプリに div などを含めることです。このファイルの内容を 2 つ目のアプリで表示したいと考えています。秘訣は、ページ全体を更新せずにこのデータを n 秒ごとに更新するにはどうすればよいかということです。
指定された間隔で ajax 呼び出しを行うことができるPrimefaces Ajax Pollingを使用します。