Iam using the output format as "application/vnd.ms-excel"in the jsp.Basically,what is happening is the xsl is rendered and Iam want to export the data in excel format.Along with that I want the companys logo as well in the excel.But Iam not getting the logo in the excel.
I still don't understand. With XSLT your output can only be XML, HTML, or text. You cannot be generating Excel-formatted data from XSLT.
Now it's possible you are generating a CSV file, which is text and which Excel can read. And you can't include images in that format. But please post again with more details if this guess is incorrect.