You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Derrick Koes <De...@skillsoft.com> on 2005/01/24 15:24:13 UTC

RE: open Excel 2000 bug

 
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>Derrick_Koes@skillsoft.com</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:sun_house_the_king@yahoo.com] 
Sent: Monday, January 24, 2005 7:33 AM
To: tomcat-user@jakarta.apache.org
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: open Excel 2000 bug

Posted by Sun House <su...@yahoo.com>.
Hi,
 I tried that, and it did not help
it looks like maybe related to a subject of disabling WebDav from working with default servlet.
though if webDav is working, it is strage because i deleted the WebDav application from tomcat 

Derrick Koes <De...@skillsoft.com> wrote:

Try calling response.reset() before setting content type.


Derrick Koes

url="http://www.skillsoft.com"/>
codeauthor2001
Derrick_Koes@skillsoft.com

(603) 821-3260

(603) 305-1753

No, try not, do
or do not, there is no try.

-----Original Message-----
From: Sun House [mailto:sun_house_the_king@yahoo.com] 
Sent: Monday, January 24, 2005 7:33 AM
To: tomcat-user@jakarta.apache.org
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


		
---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'