You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Garrick Dasbach <Ga...@musicrebellion.com> on 2004/03/25 15:08:13 UTC
JSP pages and xml
Hi,
Currently we are using JSP pages and the JSPGenerator to produce the XML
necessary to start each of our pipelines. However, we have noticed that
if we request the XML directly, such as through a view, the XML appears
in our browser as mime-type text/html, even though we are using the xml
serializer. If we specify the content-type in the JSP page as text/xml,
and request the XML directly, then it appears as XML in our browser,
however if we then attempt to transform that XML into HTML with the rest
of our pipeline, the output to the browser is still XML, even though we
are using the html serializer.
Any Ideas?
--
____________________________
Garrick Dasbach
Software Development
Digonex Technologies, Inc.
317.638.4174 Fax
CONFIDENTIALITY NOTICE: The information in this transmission is private, confidential, may be legally privileged, is property of the sender and is intended solely for the use of the addressee. If you are not the addressee, you should not read, disclose, distribute, copy, use or rely upon the information contained in this transmission. If you have received this transmission in error please delete or destroy it and notify DIGONEX TECHNOLOGIES, INC. immediately at (317) 638-4154.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: JSP pages and xml
Posted by Garrick Dasbach <Ga...@musicrebellion.com>.
Yeah, I'll do that. Just wanted to make sure it wasn't something I
could fix with a configuration change.
Thanks
--
____________________________
Garrick Dasbach
Software Development
Digonex Technologies, Inc.
317.638.4174 Fax
CONFIDENTIALITY NOTICE: The information in this transmission is private, confidential, may be legally privileged, is property of the sender and is intended solely for the use of the addressee. If you are not the addressee, you should not read, disclose, distribute, copy, use or rely upon the information contained in this transmission. If you have received this transmission in error please delete or destroy it and notify DIGONEX TECHNOLOGIES, INC. immediately at (317) 638-4154.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: JSP pages and xml
Posted by Joerg Heinicke <jo...@gmx.de>.
On 25.03.2004 15:08, Garrick Dasbach wrote:
> Hi,
>
> Currently we are using JSP pages and the JSPGenerator to produce the XML
> necessary to start each of our pipelines. However, we have noticed that
> if we request the XML directly, such as through a view, the XML appears
> in our browser as mime-type text/html, even though we are using the xml
> serializer. If we specify the content-type in the JSP page as text/xml,
> and request the XML directly, then it appears as XML in our browser,
> however if we then attempt to transform that XML into HTML with the rest
> of our pipeline, the output to the browser is still XML, even though we
> are using the html serializer.
>
> Any Ideas?
That's what I would call a bug. The Cocoon serializer does not set the
content type after the JSP has set it. Can you file the bug at bugzilla?
Thanks,
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org