Hello,

Yah,I tried that but IE creates major problem..It ognores that header..Can
someone help me soon as its really urgent!!

Warm Regards,
Mili Aggarwal

----------------------------------------------------------------------------
-----------------------------DISCLAIMER-------------------------------------
----------------------------------------------------------------------------
---------

This message and any attachment(s) contained here are information that is
confidential, proprietary to HCL Technologies and its customers. Contents
may be privileged or otherwise protected by law. The information is solely
intended for the individual or the entity it is addressed to. If you are not
the intended recipient of this message, you are not authorized to read,
forward, print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.




-----Original Message-----
From: Tom Ziemer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 17, 2005 7:02 PM
To: Struts Users Mailing List
Subject: Re: Displaying XL in browser

Hi,

you could try to use

response.addHeader("Content-Disposition", "inline; filename=filename");

and set the "filename" dynamically.

Ta Ta For Now,

Tom

Mili Aggarwal, Noida wrote:
> Hello All,
>       I wish to display an Excel in browser. I am using struts framework.
> Thus,in Action I have returned an ActionForward to a servlet that displays
> the Excel.
> 
> The problem am facing is-.> If I try to open more than 1 Excel from the
> website,it gives the error that cannot open more than one file with the
same
> name -since the servlet name becomes the name of the Excel.
> 
> What is the alternative to show more than 1 Excel?????????
> 
> 
> Disclaimer: 
> 
> This message and any attachment(s) contained here are information that is
> confidential,proprietary to HCL Technologies and its customers, privileged
> or otherwise protected by law.The information is solely intended for the
> individual or the entity it is addressed to. If you are not the intended
> recipient of this message, you are not authorized to read, forward,
> print,retain, copy or disseminate this message or any part of it. If you
> have received this e-mail in error, please notify the sender immediately
by
> return e-mail and delete it from your computer.
> 
> 
> 
> ---------------------------------------------------------------------
> 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]


Disclaimer: 

This message and any attachment(s) contained here are information that is
confidential,proprietary to HCL Technologies and its customers, privileged
or otherwise protected by law.The information is solely intended for the
individual or the entity it is addressed to. If you are not the intended
recipient of this message, you are not authorized to read, forward,
print,retain, copy or disseminate this message or any part of it. If you
have received this e-mail in error, please notify the sender immediately by
return e-mail and delete it from your computer.



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

Reply via email to