Hi ,
I have a servlet which outputs to excel or html depending on the User selection . The html format is being displayed correctly . But the while loading the Excel Sheet , it gives error ( Error durring load : And its shows that it could not find the StyleSheet).
I am exporting to excel using the code
if (isExcel) {
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition","inline; filename=" + TEMPLATE_BASE + ".xls");
} else {
response.setContentType("text/html");
}
And inside the html I am realting the stylesheet with<link rel="stylesheet" href="LL_S/html/llcontent.css">
What May be the Probelm ? Any help is appreciated .
Regrads
I have a servlet which outputs to excel or html depending on the User selection . The html format is being displayed correctly . But the while loading the Excel Sheet , it gives error ( Error durring load : And its shows that it could not find the StyleSheet).
I am exporting to excel using the code
if (isExcel) {
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition","inline; filename=" + TEMPLATE_BASE + ".xls");
} else {
response.setContentType("text/html");
}
And inside the html I am realting the stylesheet with<link rel="stylesheet" href="LL_S/html/llcontent.css">
What May be the Probelm ? Any help is appreciated .
Regrads