Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 75914 invoked from network); 27 Mar 2009 15:25:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Mar 2009 15:25:44 -0000 Received: (qmail 85290 invoked by uid 500); 27 Mar 2009 15:25:41 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 85231 invoked by uid 500); 27 Mar 2009 15:25:41 -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 85221 invoked by uid 99); 27 Mar 2009 15:25:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 15:25:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saty.prasad@gmail.com designates 209.85.217.162 as permitted sender) Received: from [209.85.217.162] (HELO mail-gx0-f162.google.com) (209.85.217.162) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Mar 2009 15:25:34 +0000 Received: by gxk6 with SMTP id 6so2373980gxk.11 for ; Fri, 27 Mar 2009 08:25:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=QuLozvFz9Q0ithoWiUV/ecQ6RighNH4lDRKQgYsqKdU=; b=Fi6KKGF5xjULLLzxGpmdzm/+rNylCY8375YaR4cD+kLgcCeUzsZmkmGjMdMucjoyox IysKIyCQC2AJWwLyiaDiGNHGQ8NUHGoCU+uDcPA5qtGRnWjTvaMsWh06ifo0iESbRjjf 1waDHZrMFEibrfxX76fzODMMGpwNaED7ObdM0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZAlnPUe+0+YwGi2UIw/z8csMs58U6Np2lUjouguQEm7QD/T31WrybXauaqdjPOmZ/J VztS3y4KzG1YiLxhYWICpG8NTvR5R0UuoGSTHzvH//7DaxMiSVjVieoarWrYglnHAL5o fYjs6KMOneYaPZHy60V61YseYg+HJQDRTXrBQ= MIME-Version: 1.0 Received: by 10.231.17.138 with SMTP id s10mr471999iba.54.1238167513370; Fri, 27 Mar 2009 08:25:13 -0700 (PDT) Date: Fri, 27 Mar 2009 08:25:13 -0700 Message-ID: <3ffe71430903270825y33543caer2047a5a1eb5b989@mail.gmail.com> Subject: Issue with the Browser Cache From: satyanarayana katta To: user@struts.apache.org Content-Type: multipart/alternative; boundary=000325550d62ce917404661b568a X-Virus-Checked: Checked by ClamAV on apache.org --000325550d62ce917404661b568a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi All, We are developing an application with Struts 2.1.6 and tiles 2.0.6. We don't want the browser to cache the pages. I tried all the options and still the browser is caching the pages and when I hit the back button the page gets loaded. Tried Options 1. Wrote an interceptor and added the response header to have pragma no-cache, expires -1, no-store etc. 2. Added response headers directly in jsp Used the http-watch to see if the headers are being set. HttpWatch shows that the headers are infact set. Whatever I do, the back button doesn't expire the page. Am I missing something? Please help. Rgds, Satya --000325550d62ce917404661b568a--