Re: Viewing PDF in Internet Explorer

2005-08-26 Thread Mark Sutton





This may be due to the version of Tomcat you are using.  It sounds a lot
like this bug:

http://issues.apache.org/bugzilla/show_bug.cgi?id=24970

This hit me when I tried upgrading from 4.1.27 to 4.1.29.  I am not sure in
which subsequest version it was fixed.  It may have been 4.1.31.  You could
always try 5.X?

Mark Sutton
Client Services IT Development
Fimat International Banque SA (UK Branch)
SG House
41 Tower Hill
London  EC3N 4SG
Tel:  +44 20 7676 8311

e-mail:[EMAIL PROTECTED]



  
Christoph   
  
KutzinskiTo: Tomcat Users List 
tomcat-user@jakarta.apache.org   
[EMAIL PROTECTED]   cc:   
   
 Subject: Re: Viewing PDF in 
Internet Explorer
24/08/2005  
  
15:06   
  
Please respond  
  
to Tomcat  
  
Users List 
  

  

  




[EMAIL PROTECTED] wrote:
 I should have been more clear in stating my problem.

 I am using a Reporting software with Tomcat.  The Reporting servlet
 receives the report request, passes it to the
 Reporting Server (lives where the data is), and the Reporting Server
sends
 it back to the client (servlet). The output
 HTML is automatically generated, and apparently the following is
happening
 with PDF (the Excel plug-in
 works fine).


 A JSP-Page (or Servlet) like

   %
 response.setContentType(application/pdf);
   %

 results in the Content-Type-Header

   Content-Type: application/pdf;charset=ISO-8859-1

 which is not allowed according to HTTP-RFCs. The charset may only be
 appended
 when the Content-Type is text/*.

Just a wild guess:
Have tried to set the character encoding?

  response.setCharacterEncoding(null) or ()



Christoph

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






***
Please note that this email address will be converted from the current
email address to [EMAIL PROTECTED]  You are encouraged
to start using this address for all future communications.

Non-impartial research: Fimat UK does not produce research in circumstances in 
which it is appropriate to characterise it as impartial as referred to in the 
rules of the Financial Services Authority . All communications of Fimat UK are, 
however, fair, clear and not misleading. The views expressed are those of the 
author and do not necessarily reflect the views of other departments of Fimat 
or associated groups.

The e-mail and any attachments are confidential. They may contain
privileged information and are intended for the named addressee(s)
only. If you are not the intended recipient, please notify us
immediately and do not disclose, distribute, or retain this e-mail
or any part of it.

Unless expressly stated, opinions in this e-mail are those of the
individual sender and not of the FIMAT Group. We believe but do not
warrant that this e-mail and any attachments are virus free. 
You must therefore take full responsibility for virus checking. 
The FIMAT Group reserve the right to monitor e-mail communications
through its networks. 

Where this communication constitutes a financial promotion it is issued
and approved by Fimat International Banque S.A. (UK Branch) and is 
only intended for persons of a kind described in article 19(5) of the
Financial Services and Markets Act 2000 (Financial Promotion) Order
2001.  This information is not intended to be distributed to UK Private
Customers (as defined by the Financial Services Authority).

Fimat International Banque S.A. (UK Branch) whose registered branch
in England is at SG House, 41 Tower Hill, London EC3N 4SG is authorised
by the Commission Bancaire in France and by the UK Financial Services

Re: Viewing PDF in Internet Explorer

2005-08-26 Thread Mark Sutton





This may be due to the version of Tomcat you are using.  It sounds a lot
like this bug:

http://issues.apache.org/bugzilla/show_bug.cgi?id=24970

This hit me when I tried upgrading from 4.1.27 to 4.1.29.  I am not sure in
which subsequest version it was fixed.  It may have been 4.1.31.  You could
always try 5.X?

Mark Sutton
Client Services IT Development
Fimat International Banque SA (UK Branch)
SG House
41 Tower Hill
London  EC3N 4SG
Tel:  +44 20 7676 8311

e-mail:[EMAIL PROTECTED]



  
Christoph   
  
KutzinskiTo: Tomcat Users List 
tomcat-user@jakarta.apache.org   
[EMAIL PROTECTED]   cc:   
   
 Subject: Re: Viewing PDF in 
Internet Explorer
24/08/2005  
  
15:06   
  
Please respond  
  
to Tomcat  
  
Users List 
  

  

  




[EMAIL PROTECTED] wrote:
 I should have been more clear in stating my problem.

 I am using a Reporting software with Tomcat.  The Reporting servlet
 receives the report request, passes it to the
 Reporting Server (lives where the data is), and the Reporting Server
sends
 it back to the client (servlet). The output
 HTML is automatically generated, and apparently the following is
happening
 with PDF (the Excel plug-in
 works fine).


 A JSP-Page (or Servlet) like

   %
 response.setContentType(application/pdf);
   %

 results in the Content-Type-Header

   Content-Type: application/pdf;charset=ISO-8859-1

 which is not allowed according to HTTP-RFCs. The charset may only be
 appended
 when the Content-Type is text/*.

Just a wild guess:
Have tried to set the character encoding?

  response.setCharacterEncoding(null) or ()



Christoph

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






***
Please note that this email address will be converted from the current
email address to [EMAIL PROTECTED]  You are encouraged
to start using this address for all future communications.

Non-impartial research: Fimat UK does not produce research in circumstances in 
which it is appropriate to characterise it as impartial as referred to in the 
rules of the Financial Services Authority . All communications of Fimat UK are, 
however, fair, clear and not misleading. The views expressed are those of the 
author and do not necessarily reflect the views of other departments of Fimat 
or associated groups.

The e-mail and any attachments are confidential. They may contain
privileged information and are intended for the named addressee(s)
only. If you are not the intended recipient, please notify us
immediately and do not disclose, distribute, or retain this e-mail
or any part of it.

Unless expressly stated, opinions in this e-mail are those of the
individual sender and not of the FIMAT Group. We believe but do not
warrant that this e-mail and any attachments are virus free. 
You must therefore take full responsibility for virus checking. 
The FIMAT Group reserve the right to monitor e-mail communications
through its networks. 

Where this communication constitutes a financial promotion it is issued
and approved by Fimat International Banque S.A. (UK Branch) and is 
only intended for persons of a kind described in article 19(5) of the
Financial Services and Markets Act 2000 (Financial Promotion) Order
2001.  This information is not intended to be distributed to UK Private
Customers (as defined by the Financial Services Authority).

Fimat International Banque S.A. (UK Branch) whose registered branch
in England is at SG House, 41 Tower Hill, London EC3N 4SG is authorised
by the Commission Bancaire in France and by the UK Financial Services

Mark Sutton/LDN/FIMAT is out of the office.

2004-02-18 Thread Mark Sutton
I will be out of the office starting  19/02/2004 and will not return until
23/02/2004.

I am out of the office on 19  20 Feb 2004.  In my absence please contact
Conroy Pretorius.

Mark



***
The e-mail and any attachments are confidential. They may contain
privileged information and are intended for the named addressee(s)
only. If you are not the intended recipient, please notify us
immediately and do not disclose, distribute, or retain this e-mail
or any part of it.

Unless expressly stated, opinions in this e-mail are those of the
individual sender and not of the FIMAT Group. We believe but do not
warrant that this e-mail and any attachments are virus free. 
You must therefore take full responsibility for virus checking. 
The FIMAT Group reserve the right to monitor e-mail communications
through its networks. 

Where this communication constitutes a financial promotion it is issued
and approved by Fimat International Banque S.A. (UK Branch) and is 
only intended for persons of a kind described in article 19(5) of the
Financial Services and Markets Act 2000 (Financial Promotion) Order
2001.  This information is not intended to be distributed to UK Private
Customers (as defined by the Financial Services Authority).

Fimat International Banque S.A. (UK Branch) whose registered branch
in England is at SG House, 41 Tower Hill, London EC3N 4SG is authorised
by the Commission Bancaire in France and by the UK Financial Services
Authority; regulated by the Financial Services Authority for the conduct of
UK Business and is entered in the Financial Services Authority's register
(Register Number 183415), access to which can be gained via the following
link: www.fsa.gov.uk/register/

Member and a SETS Participant of the London Stock Exchange (LSE).
Where this communication is confirming an on exchange transaction
(as defined by the LSE),the transaction is subject to the rules of the LSE.
Any information, opinions, estimates and forecasts contained in this 
document have been arrived at or obtained from public sources believed
to be reliable and in good faith which has not been independently 
verified and no warranty, express or implied, is made as to their accuracy,
completeness or correctness.  

This document is not an offer to sell or a solicitation to acquire or dispose
of an interest in financial instruments. 

If you have received this transmission in error, please telephone
+44 020 7676 8999 immediately so that we can arrange for its return.
***


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat causing crashes, please help

2001-06-26 Thread Mark Sutton

I have just installed Tomcat 3.2.2  as a standalone on Win2000 Pro,
P2-400MHz, 196MB.
I have also
installed j2se 1.3.0_03 and j2ee 1.2.1.  Apart from changing JAVA_HOME,
TOMCAT_HOME and CLASSPATH (to enable the quick compiling of classes), I have
made no changes to the startup, shutdown and tomcat batch files.

However, when running, it frequently crashes my otherwise stable system;
completely and without warning.  Sometimes it crashes when I shutdown
tomcat.  This even includes the default Tomcat html
page.  Opening the Tomcat
index file produces the following output in the command window:



2001-06-25 10:55:15 - Ctx(  ): IOException in: R(  + /index.html + null)
Connection aborted by peer:
 socket write error
2001-06-25 10:55:16 - Ctx(  ): IOException in: R(  + /tomcat-power.gif +
null) Connection aborted by
 peer: socket write error



As I'm about to embark on a servlet development project, this is quite a
worry for me.

Thanks.