RE: multiThread, action and Database access

2004-11-16 Thread McCormack, Chris
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

Re: multiThread, action and Database access

2004-11-16 Thread Dakota Jack
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, ActionFo

Re: multiThread, action and Database access

2004-11-15 Thread Andrew Hill
Actions and their corresponding jsps exist to handle requests sent by the browser. Its a client pull model, so you cant schedule to push data to the client at intervals (I would recommend staying away from trying any tricky hacks that involve keeping the http connection open). What you can do i

multiThread, action and Database access

2004-11-15 Thread Ryan julius
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 Problem: The database is populated each 30 seconds by an external server. Question : Ho