Try calling response.reset() before setting content type.
<ContactInfo>
<Name>Derrick Koes</Name>
<Title>Senior Software Engineer</Title>
<Company name="SkillSoft"
url="http://www.skillsoft.com"/>
<AIM>codeauthor2001</AIM>
<Email>[EMAIL PROTECTED]</Email>
<Phone>(603) 821-3260</Phone>
<Cell>(603) 305-1753</Cell>
<Fax/>
<Quote attributedTo="Yoda">No, try not, do
or do not, there is no try.</Quote>
</ContactInfo>
-----Original Message-----
From: Sun House [mailto:[EMAIL PROTECTED]
Sent: Monday, January 24, 2005 7:33 AM
To: [email protected]
Subject: open Excel 2000 bug
Hi All,
I have a JSP page that eventually opens Excel page.
I got my content type set to be "application/vnd.ms-excel"
I also work with FOP to serialize the Excel.
I got this working for both Win 2000 and XP , and for Office XP and 2003, but
for Office 2000 I got an Error generating the Ecxel.
If i look at localhost access log, I see that the page is somehow been called 2
again times:
GET /ExcelReportGenerationPage.jsp?reportName=ResourceExcelRep HTTP/1.1" 200
5120 LOCK /ExcelReportGenerationPage.jsp?reportName%3DResourceExcelRep
HTTP/1.1" 500 2170 GET
/eBopBrowser/jsp/ReportGenerationPage.jsp?reportName=ResourceExcelRep HTTP/1.1"
200 5120
I know that 500 indicates an internal Error of the server, but i don't
understand what is the lock doing here.
I understand that it relates ot webDav - but why is it here? od i use WebDav
without my knowledge?
I use tomcat 5.027
How come in Excel 2000 i got this Error?
I looked in Microsoft and FOP mailing lists as well with no success.
Any one?
Regards
Sun House
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]