Set a HTTP header to refresh the request every 30 seconds. -----Original Message----- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: 16 November 2004 08:45 To: Struts Users Mailing List Subject: Re: multiThread, action and Database access
You need to be more specific, I think. See below: Jack On Tue, 16 Nov 2004 07:33:40 +0100 (CET), Ryan julius <[EMAIL PROTECTED]> wrote: > Hi, > > I have in my project, an action /ReadDataBaseData.do and the corresponding > handler : > public ActionForward accessDatabase(ActionMapping, ActionForm, ...) ; > This action forwards to the page displayData.jsp > <forward name="displayDBData" path="/displayData.jsp"/> > Problem: The database is populated each 30 seconds by an external server. Why is this a "Problem"? > Question : How can I setup my action and implementation in order to access > the database each 30 seconds. Do you mean that you want a client to "access the database" via an "action"? You can set the response object to refresh each 30 seconds if you want. This is a fairly simple and old semi-push in the HTTP pull technology. Jack > > Thanks in advance. > > > --------------------------------- > Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! > Créez votre Yahoo! Mail > > Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour > dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici ! > -- "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *********************************************** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please notify the sender immediately and delete this e-mail from your system. You must take no action based on this, nor must you copy or disclose it or any part of its contents to any person or organisation. Statements and opinions contained in this email may not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. ************************************************ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]