Dearest elephantwalker and other dearest friends,
I have a doubt in this xsl rendering.
I used xalan and xerces parser which orion uses for xml to html rendering. I
used my own xsl servlet to port my code to any application server which is
not having an xsl servlet. But I am ending up in one trouble. Transformation
is working fine. But if I need to output as xml,
I will use response.setContentType(text/xml); this works fine in servlets.
But when I use the same in jsps in an ear file, this donot happen. Can we
change the content type of jsp's?
thanks,
Prasanth.
From: The elephantwalker [EMAIL PROTECTED]
Reply-To: Orion-Interest [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Subject: RE: XSL and Sitemesh on Orion
Date: Mon, 22 Apr 2002 20:19:27 -0700
retry ...
-Original Message-
From: The elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 22, 2002 8:59 AM
To: Orion-Interest; [EMAIL PROTECTED]
Subject: RE: XSL and Sitemesh on Orion
Dear Peter,
Theres a bug in sitemesh so that only jsp files work. I believe that xsl
would have the same limitation. I reported this on sourceforge. There's an
easy fix to this:
http://sourceforge.net/tracker/index.php?func=detailaid=534456group_id=989
0atid=109890
and
http://sourceforge.net/tracker/index.php?func=detailaid=534772group_id=989
0atid=109890
Of course you will need to make the changes in the sitemesh code, and
re-build it, but that's a snap. I would attach the fix on elephantwalker,
but I am unclear about the Opensymphony license...any way the links above
give the exact changes necessary to make this work.
Regards,
the elephantwalker
www.elephantwalker.com
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Beck
Sent: Monday, April 22, 2002 5:11 AM
To: Orion-Interest
Subject: XSL and Sitemesh on Orion
I am using OpenSymphony Sitemesh on Orion Application Server 1.5.4.
The Orion XSL servlet (default config in global-web-application.xml)
is used to transform XML files to HTML.
The transformation works fine, but the transformed HTML is no longer
passed to the sitemesh filter and is displayed without layout.
What can I do to make this work?
Does anybody have a hint, please?
Peter
--
Peter Beck, JOANNEUM RESEARCH Forschungsges.m.b.H.
[EMAIL PROTECTED]
s
_
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx