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]



Reply via email to