A question about Strut usage...


General J2EE: A question about Strut usage...

  1. A question about Strut usage... (1 messages)

       My problem regarding the application statement is that I have a HTML page that needs to be updated periodically without any refresh button imposed on the page. All other functionalities of my application are regular and goes on user request and server response lines. Does the Strut framework support my requirement and if yes how do I make use of this framework. If not, then what could be the solution to my problem.
  2. What you can do is the following:

    Use the HTML reload meta tag in your page

    <META HTTP-EQUIV="REFRESH" CONTENT="5;URL=yourpage.html">

    Change the "5" to however many seconds you want to wait between page reloads. Make sure the meta tag is between the head tags <HEAD></HEAD>.

    Change the URL to whatever action you want to call.

    That should give you the behavior that you want.