File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes JSP and XSL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP and XSL" Watch "JSP and XSL" New topic
Author

JSP and XSL

Anand, Srivastava
Greenhorn

Joined: Mar 08, 2001
Posts: 3
Is it possible to combine JSP and XSL to isolate the logic and the dispay?
manav kher
Ranch Hand

Joined: Nov 21, 2000
Posts: 98
sure it is..did u try?
manav
Phil Hanna
Ranch Hand

Joined: Apr 05, 2001
Posts: 118
Yes, easily. With Xalan, for example:

where instruments.xml is the input document and XSLTSample.xsl is the stylesheet. Chapter 16 of JSP: The Complete Reference shows an example of this.
------------------
Phil Hanna
Author of :
JSP: The Complete Reference
Instant Java Servlets


Phil Hanna<BR>Sun Certified Programmer for the Java 2 Platform<BR>Author of :<BR><A HREF="http://www.amazon.com/exec/obidos/ASIN/0072127686/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">JSP: The Complete Reference</A><BR><A HREF="http://www.amazon.com/exec/obidos/ASIN/0072124253/electricporkchop/107-3548162-1137317" TARGET=_blank rel="nofollow">Instant Java Servlets</A>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP and XSL