Auto submit Struts form every 'n seconds

Discussion in 'Java' started by davout, Dec 6, 2004.

  1. davout

    davout Guest

    Does anybody know of way of having a Struts form auto submit itself every
    'n' seconds?

    I'm trying to build a form that reports back on the progress of an
    asynchronously executing task.
     
    davout, Dec 6, 2004
    #1
    1. Advertising

  2. davout

    Nate Guest

    I don't think stuts has any built-in functionality for this, but you
    could easily implement this using Javascript on your jsp (that your
    struts form is using).
     
    Nate, Dec 6, 2004
    #2
    1. Advertising

  3. davout

    davout Guest

    Answering my own question here... but I wonder whether the <meta> tag will
    achieve what I'm looking for, like...

    <meta http-equiv="Refresh" content="4">


    "davout" <> wrote in message
    news:41b48bf8$0$1622$...
    > Does anybody know of way of having a Struts form auto submit itself every
    > 'n' seconds?
    >
    > I'm trying to build a form that reports back on the progress of an
    > asynchronously executing task.
    >
    >
    >
     
    davout, Dec 7, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tshad
    Replies:
    7
    Views:
    17,280
    tshad
    Mar 11, 2005
  2. linkswanted
    Replies:
    1
    Views:
    999
  3. Michael Tan
    Replies:
    32
    Views:
    1,082
    Ara.T.Howard
    Jul 21, 2005
  4. Megha Vishwanath
    Replies:
    3
    Views:
    808
    Megha Vishwanath
    Jul 20, 2004
  5. Replies:
    5
    Views:
    180
    Randy Webb
    May 25, 2005
Loading...

Share This Page