Hi!
Thanks. That solved the purpose. But I want it to be unanimous for all
pages. So, can I set it in RequestProcessor or ActionServlet and how. 
Please reply asap.
 

-----Original Message-----
From: Joan Horta [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 23, 2007 8:36 PM
To: Struts Users Mailing List
Subject: Re: Display Table - URGENT

This is due (if I recall correctly from a similar problem I had) to
having the no-cache in the page, so Internet Explorer can't open the
file (I think the problem is just related to Internet Explorer). In
Struts 1.2.9 I set this code within the action that serves the report
:

    response.setHeader("Pragma", "Public");
    response.setHeader("Cache-Control", "Public");

That worked for me. I don't know what version are you using, but you
have to override the cache control in your response.

2007/2/23, Abhimanyu Koul <[EMAIL PROTECTED]>:
> Hi everybody!
>
> I am using export="true" in display table. All the exports are working
> fine but I am having a problem in pdf export. The pdf viewer throws an
> error message whenever we try to open the pdf file saying that the
file
> does not exist. But whenever, I save the file first and then open it -
> it opens properly.
> Where can be the problem.
>
> Kindly help
>


-- 
"I thought what I'd do was, I'd pretend I was one of those deaf-mutes.
That way I wouldn't have to have any goddam stupid useless
conversations with anybody"
J.D. Salinger - The Catcher in the Rye

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to