Hi
my html files are not servert/jsp response they are generated using xsl
transformation, i thought that it maybe tomcat config problem
thanks
khaled
> you should set the response contentType to
"application/vnd.ms-excel" for excel file and
"application/pdf" for pdf file.
for example :
HTTPServletResponse.setContentType("application/vnd.ms-excel");
Cheers,
Raj
--- Khaled Ayoubi <javabk76@h...> wrote:
> Hi
>
> i'm using tomcat.
> my generated html file , contain <a
> href="test.xls">test</a>
> when i press on the link i don't get proper file ??
> while it's work in case of doc, pdf files
>
>
> any help
>
> Khaled
> ---
> Change your mail options at
> http://p2p.wrox.com/manager.asp or
> to unsubscribe send a blank email to
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com