Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Using XSL & XML within a JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Using XSL & XML within a JSP" Watch "Using XSL & XML within a JSP" New topic

Using XSL & XML within a JSP

Catriona McCann

Joined: Aug 31, 2000
Posts: 24
I need to apply a style sheet to an XML document WITHIN a JSP ... I know the style sheet is correct as I have tested it in an XML/XSL editor. However the same XML/XSL will not work with the JSP.
Anyone have any ideas.. or examples...??
Thanks in advance !
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
Your problem might be related to the version of JSP or the jsp server. JSP 1.1 do not support xml tags within jsp. Summer application server do not support xml tags in jsp yet. The newest tomcat support xml tags witnin jsp.
This may be helpful.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Using XSL & XML within a JSP