Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6248C9E2F for ; Mon, 4 Jun 2012 18:41:53 +0000 (UTC) Received: (qmail 18732 invoked by uid 500); 4 Jun 2012 18:41:51 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 18705 invoked by uid 500); 4 Jun 2012 18:41:51 -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 18697 invoked by uid 99); 4 Jun 2012 18:41:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2012 18:41:51 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thechrispratt@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2012 18:41:45 +0000 Received: by wibhn14 with SMTP id hn14so2794355wib.17 for ; Mon, 04 Jun 2012 11:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=cIn1JDsmCRRi8C9s2jMCGwk874gUCD30clds4c15+s0=; b=Pa2fK+w1DXNLQ5nrNzCoFjiohssmqqLq2ZRSfm/D+tT4crc9Yw40gIAHHjhSskhSdV ArfL3tWO02QCZmldSJyvZ13iQXwj9FhhURctjDW3AU+TRM+CH+LuCnS16QgkdQAVcrzC 6DdtgsNdeRTdLsrna2jdhNljR62SOyy/p7Tv3+6ULCVbVplO4LL67JRQEZexasRGvJZ7 fJoi8ngJ17PPk39/HP3uPfnTTlQSaLU3SngxBHqWkWbbvGH/38gx3EcG1XZYgnOFvtdZ LWJgv0wmBVfNwJxmDF8ESmLHQGpPgGr4gIHjCOT6Ck+Bz9XdqWcEuHQtt/vXvGcZaWMO IJjQ== Received: by 10.216.131.223 with SMTP id m73mr12264494wei.76.1338835283780; Mon, 04 Jun 2012 11:41:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.180.97.226 with HTTP; Mon, 4 Jun 2012 11:41:03 -0700 (PDT) In-Reply-To: <1338835025.43138.YahooMailNeo@web112402.mail.gq1.yahoo.com> References: <1338833373.50121.YahooMailNeo@web112420.mail.gq1.yahoo.com> <1338835025.43138.YahooMailNeo@web112402.mail.gq1.yahoo.com> From: Chris Pratt Date: Mon, 4 Jun 2012 11:41:03 -0700 Message-ID: Subject: Re: Struts2 (caching, valuestack, etc...) problem To: Struts Users Mailing List , Omar Ngarigari Content-Type: multipart/alternative; boundary=0016e6d4f55f80a44804c1a9e17d X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d4f55f80a44804c1a9e17d Content-Type: text/plain; charset=ISO-8859-1 You have to find the cache first. It could be cached by the browser, the server, the container or your application. If every request is making it through to your action, then it's most likely code in your application that's reusing something from the last request. If some of the requests don't trigger your action, the problem is in one of the other three layers and you'll have to do some investigation to figure out which (something like TamperData Plug-in for FireFox might help) (*Chris*) On Mon, Jun 4, 2012 at 11:37 AM, Omar Ngarigari wrote: > I am running the application on jboss6 app server. I don't see anything on > server console. I have debugged the app, I can see that the new input > quarter date is returned when the request is made on the app log file. I > tried your suggestions by adding ?something=kskdsds at the end of the url, > but I got no record found. Can you show me how to clean a cache? > > > ________________________________ > From: Chris Pratt > To: Struts Users Mailing List ; Omar Ngarigari < > ngarigarius@yahoo.com> > Sent: Monday, June 4, 2012 2:17 PM > Subject: Re: Struts2 (caching, valuestack, etc...) problem > > Are you watching your server console? Are you sure it's actually making > the request and not displaying the cached page. If it is just showing you > the cached page, try appending some nonsense parameter to the end of the > URL (i.e. ?dummy=aalskdjfkal). > > Otherwise, you'll have to look into your action processing, you must be > retrieving something from a cache somewhere. > (*Chris*) > > On Mon, Jun 4, 2012 at 11:09 AM, Omar Ngarigari >wrote: > > > Hi All, > > > > I have developed an application using struts2.3.1.2, but I > > am experiencing a weird situation that I have bumping my head for a week > > now, but It does not go away. > > > > Scenario 1 - I have a query page (jsp) where I have to query database > > based on the quarter date an input. If I entered a quarter that does not > > have data in the database, I receive an appropriate error message saying > > there is no record found. (That is fine!). > > > > Scenario 2 - On the same query page, I entered a quarter date that has > > record in the database, then a report is generated. (That is fine!) > > > > Scenario 3 - This is where I am having problem. I click on the back > button > > of the IE browser to navigate from the report page back to the query > page, > > and at the query page, I entered the same quarter date that I entered at > > the scenario 1, I get the report that was generated on scenario2 rather > > than error message as scenario1. > > > > I have searching all over the place, but not luck. I would appreciate any > > help or clue to the problem. > > > > Thanks, > > > > Omar N. > --0016e6d4f55f80a44804c1a9e17d--