This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XT as servlet


All,

Well I struggled with implementing JC's XT Servlet for a long time and I 
finally did get it to work, with boss-pleasing results. The secret for me 
was using Tomcat rather than Jserv. James says very explicitly with regard 
to using XT as a servlet: "This requires a servlet engine that implements 
at least version 2.1 of the Java Servlet API." Jserv, unfortunately, is 
only compliant with version 2.0 of the Java Servlet API. Many have 
rewritten the XT Servlet so that it functions under Jserv, but I've had 
nothing but trouble with all of these versions. Under Tomcat I was able to 
use it completely unmodified, well nearly so. For a working example see:

http://sunsite.berkeley.edu:11112/kirk/servlet/xt/dynaxml/test/test

What you are looking at is a single XML file being processed by XT using a 
single stylesheet. All dynamic behavior is implemented by passing 
parameters in the URL. There are no static files. Please excuse the speed, 
this is a test server. Also, I've been too busy to modify my stylesheets 
(both XSLT & CSS) to get it to look good in all browsers. Please, please, 
please view only with IE 5 for now. ;)

If anyone is interested, I'd be glad to share both my stylesheets and 
server setup...

Kirk

Kirk V. Hastings
Digital Publishing Specialist
Library Systems Office
386 Doe Annex
University of California
Berkeley, CA, 94720

khasting@library.berkeley.edu


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]