You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Aaron Prohaska <ve...@verdesoft.net> on 2000/08/23 21:22:51 UTC

xml to pdf works in NS not in IE

Does anyone know why creating pdf files would work in Netscape, but not in
IE? The Cocoon.xml file will work in IE, but if I try and load a xml file
that creates a pdf I get a blank page in IE.

Aaron

		<<:::..:::...::: Aaron Prohaska :::..:::...:::>>
VerdeSoft Internet Services
mailto:verdesoft@verdesoft.net		http://www.verdesoft.net/


RE: xml to pdf works in NS not in IE

Posted by Aaron Prohaska <ve...@verdesoft.net>.
I do need to setup Tomcat to handle .xsp files as well as .xml, but I just
found the answer to my problem with IE in the Cocoon FAQ. If I append a ? to
the end of the url it forces IE to check the MIME type and this causes the
pdf file to be loaded properly.

thanks again,

Aaron

		<<:::..:::...::: Aaron Prohaska :::..:::...:::>>
VerdeSoft Internet Services
mailto:verdesoft@verdesoft.net		http://www.verdesoft.net/


-----Original Message-----
From: sudhi [mailto:sudheendra@insage.com]
Sent: Wednesday, August 23, 2000 2:14 PM
To: cocoon-users@xml.apache.org
Subject: Re: xml to pdf works in NS not in IE


Hi,
Its not just, you have to tell ur web server to send all files with
extension .xsp to cocoon..

for eg...
in ur jserv.conf file, change the lines

Action cocoon /servlets/org.apache.cocoon.Cocoon
AddHandler cocoon xml

to

Action cocoon /servlets/org.apache.cocoon.Cocoon
AddHandler cocoon xsp

Then it should work

HTH
Sudhi

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: xml to pdf works in NS not in IE

Posted by sudhi <su...@insage.com>.
Hi,
Its not just, you have to tell ur web server to send all files with
extension .xsp to cocoon..

for eg...
in ur jserv.conf file, change the lines

Action cocoon /servlets/org.apache.cocoon.Cocoon
AddHandler cocoon xml

to 

Action cocoon /servlets/org.apache.cocoon.Cocoon
AddHandler cocoon xsp

Then it should work

HTH
Sudhi

RE: xml to pdf works in NS not in IE

Posted by Aaron Prohaska <ve...@verdesoft.net>.
I just tried changing the file extension from .xml to .xsp and now both IE
and NS show the source of the file instead of creating the pdf file. What
now? How are other people making .xml to pdf work in both browsers?

thanks,

Aaron

		<<:::..:::...::: Aaron Prohaska :::..:::...:::>>
VerdeSoft Internet Services
mailto:verdesoft@verdesoft.net		http://www.verdesoft.net/


-----Original Message-----
From: sudhi [mailto:sudheendra@insage.com]
Sent: Wednesday, August 23, 2000 1:11 PM
To: cocoon-users@xml.apache.org
Subject: Re: xml to pdf works in NS not in IE


Hi,
This is a bug in IE. When it sees .xml extension it tries to open it by
itself.
I remember some body asked the same question before. The suggestion is
to rename all .xml extensions to something which IE doesn't know what to
do with it. For eg .xsp.
Then it will open it properly.
HTH
Sudhi

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: xml to pdf works in NS not in IE

Posted by sudhi <su...@insage.com>.
Hi,
This is a bug in IE. When it sees .xml extension it tries to open it by
itself.
I remember some body asked the same question before. The suggestion is
to rename all .xml extensions to something which IE doesn't know what to
do with it. For eg .xsp.
Then it will open it properly.
HTH
Sudhi