• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Identical requests make my csv component always returns the same content
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Identical requests make my csv component always returns the same content


  • Subject: Re: Identical requests make my csv component always returns the same content
  • From: "Yung-Luen Lan" <email@hidden>
  • Date: Sun, 14 Sep 2008 15:55:14 +0800

On Sun, Sep 14, 2008 at 3:01 PM, Stephane Guyot
<email@hidden> wrote:
>
> Hi Yung-Luen,
> have a look on the following method : disableClientCaching ---> Class
> WOResponse
> http://developer.apple.com/documentation/DeveloperTools/Reference/WO541Reference/com/webobjects/appserver/WOResponse.html#disableClientCaching()
> You can override appendToResponse in your CSVReport page and invoke
> disableClientCaching,
> something like :
>
>     public void appendToResponse(WOResponse aResponse, WOContext aContext) {
>         aResponse.setHeader("application/vnd.ms-excel", "Content-Type");
>         super.appendToResponse(aResponse, aContext);
>         aResponse.disableClientCaching();
>     }
>

Yes, I've already add this line to my class. However, my problem is
not a "client side caching" but a "server side caching" I believed.

There is a method that disable the server side caching on
WOApplication, but I hope there is some way to set it on specific
components.

Regards,
yllan
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Identical requests make my csv component always returns the same content
      • From: Stephane Guyot <email@hidden>
References: 
 >Identical requests make my csv component always returns the same content (From: "Yung-Luen Lan" <email@hidden>)
 >Re: Identical requests make my csv component always returns the same content (From: Stephane Guyot <email@hidden>)

  • Prev by Date: Identical requests make my csv component always returns the same content
  • Next by Date: Re: Identical requests make my csv component always returns the same content
  • Previous by thread: Re: Identical requests make my csv component always returns the same content
  • Next by thread: Re: Identical requests make my csv component always returns the same content
  • Index(es):
    • Date
    • Thread