[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@xxxxxxxxxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|