The configuration of this would be server dependent but in ServletExec one
would simply add a filter to the configuration for the mime type that the
JSP will produce.  For example, if you had a JSP with the following
directive:

        <%@page contentType="text/xml" %>

You could set up a filter for the mime type "text/xml" that is an XSLT
processor servlet.  If you didn't want all XML that was generated to be post
processed by the XSLT processor you could use an application specific mime
type.

Hope this helps,

Dana H. P'Simer, Jr.
x7547
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-----Original Message-----
From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 10, 2000 3:18 PM
To: [EMAIL PROTECTED]
Subject: JSP generating XML, passed through XSL?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Has anyone managed to have JSP generate XML, then having a stylesheet
applied on the server? I've been trying to find an example of this -
people have said it can be done, but finding out how hasn't been easy for
me for some reason.

- -----------------------------------------------------------
Joseph B. Ottinger               [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo      HOMES.COM Developer
PGP Key is : http://cupid.suninternet.com/~joeo/cherem_pgpk

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1i

iQA/AwUBOKMdAQhcVZKknQwGEQKNTwCg0FGqhz9tthWDslwBeKdwaiDmxlYAoK+q
8QcATEZtU26K666weORkXeO9
=9BuB
-----END PGP SIGNATURE-----

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

PSimer, Dana.vcf

Reply via email to