fpoyavo
asked on
XML
Hi Experts,
I have XML file and XSLT(formats CSV file) that are ready for use.
How to make in JSP to write this file to temp directory and open using Internet Explorer ?
Thank you.
I have XML file and XSLT(formats CSV file) that are ready for use.
How to make in JSP to write this file to temp directory and open using Internet Explorer ?
Thank you.
ASKER
Yep. Write transformed CSV file to temp dir and then open it from there via Internet Explorer (this is all has to be done within JSP)
i KNOW you are the best. Thank you.
i KNOW you are the best. Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks man I will try it.
ASKER
One question. If I run this JSP on Linux and need to open it as Excel file how exactly it ca ne accomplished ?
I assume this code will just print it in browser nto open it as Excel file. Right ? May be I am missing something ?
I assume this code will just print it in browser nto open it as Excel file. Right ? May be I am missing something ?
you will have to set your content type to application/excel by doing
response.setContentType("a pplication /excel");
response.setContentType("a
ASKER
kULDEEP,
Would you please tell me where and how to use it ?
Would you please tell me where and how to use it ?
do you want to apply the XSL to XML and get the out put a file or browser????