Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 63339 invoked from network); 6 Sep 2006 15:21:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Sep 2006 15:21:57 -0000 Received: (qmail 24256 invoked by uid 500); 6 Sep 2006 15:21:47 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 24236 invoked by uid 500); 6 Sep 2006 15:21:47 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 24223 invoked by uid 99); 6 Sep 2006 15:21:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 08:21:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.86.89.67] (HELO elasmtp-scoter.atl.sa.earthlink.net) (209.86.89.67) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Sep 2006 08:21:46 -0700 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=ix.netcom.com; b=j+j1ZkBMeYm06Y2J8jpFuPAiPXJc0I44WKLBVffUrrX6Lv3dGTSEIIo7YCIlt3nX; h=Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:In-Reply-To:X-MimeOLE:Importance:X-ELNK-Trace:X-Originating-IP; Received: from [68.160.62.196] (helo=friedman) by elasmtp-scoter.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1GKzDR-0003nj-5R for user@struts.apache.org; Wed, 06 Sep 2006 11:21:25 -0400 From: "David Friedman" To: "Struts Users Mailing List" Subject: RE: Retrieve Data List Date: Wed, 6 Sep 2006 11:21:39 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <69941F17E56E0E40AEBA52AA41B2724702A49F09@MSGBANCLA2WIN.DMN1.FMR.COM> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Importance: Normal X-ELNK-Trace: b135f2a34802a90f6f36dc87813833b2866e14058d4cf7afa44dbef33f31eb97e94750b096aa2d6f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 68.160.62.196 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What session "limitations" are you encountering? Is this something that simply fixing the amount of time before a session timeout would fix since many containers support that feature? Would you be better served saving the data in application scope under some key and then having a scheduler, like Quartz, periodically (every 1 or 2 hours) remove stale data? You could then mark data as "not stale" by updating a timestamp in your application scoped object and having your scheduled job check the "last access" time of your timestamp. Regards, David -----Original Message----- From: Rokariya, Raman [mailto:Raman.Rokariya@fmr.com] Sent: Wednesday, September 06, 2006 9:29 AM To: Struts Users Mailing List Subject: Retrieve Data List Hi, I am developing Web Client using Struts framework. I am facing problem in following scenarios. My application has a Pop Up Window which refreshes after some regular interval (minutes). The first time when the window opens, the data which is displayed in Tabular Grid is fetched through the Web service Call from the Database. Now, during subsequent refreshes of the window , I don't want to perform the Database hit (web service call). The Data to be loaded in tabular grid (I am using displayTag library) should be available From the Web Server. I have tried using the Session object. It works fine. However, we want to avoid using the Session object due to its limitations. I have also tried using ThreadLocal object. But during refresh of the page, the list which was stored in ThreadLocal during first call of the web service, is lost. I am sure someone may have faced similar problems before, Any ideas to solve the above problem would be helpful and appreciated. > Thanks & Regards, > Raman Rokariya --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org