Eumm,
I might be wrong but... is it possible that this just works if the client browser
is capable of doing the transformation of the XML into HTML using XSL? AFAIK, this
just works with Explorer 5 and if what you want to do is perform this
transformation in the server, you have to do something different as JSP pages are
not easily postprocessed in the server. Joe Milora posted a possible solution a
couple of days ago that involve using taglibs but this way you lower your
requirements in the client and network traffic.
Just my 2c,
Dan
PD: I read somewhere in the spec that this issue of postprocessing JSP pages is
going to be addressed in the next version of the specification. Until then, taglibs
might be a good solution.
"Kaseman, Mark T" escribi�:
> Yes you can. The main requirement is to include something like the following
>
> <?xml version="1.0" encoding="UTF-8"?>
> <?xml:stylesheet type="text/xsl" href="mvppdsal.xsl" ?> <<< where the href
> points to your XML style sheet
>
> The style sheet contains all the HTML instead.
>
> -----Original Message-----
> From: Nishi [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 12, 2000 11:54 PM
> To: [EMAIL PROTECTED]
> Subject: Writing XML in JSP file
>
> Hi all,
> I am wondering if we can write XML in a jsp file in place of HTML. if
> yes then how to display it in browser.
>
> Thanks,
> Nishi
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets