ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Developing, Applying and Optimizing XSLT with Java Servlets
Subject:   Don't use XSLTProcessor in multiple threads
Date:   2001-08-29 02:39:47
From:   juerg.staub@object-soft.ch
Very bad example of a servlet. The processor may not be used in doGet(), doPost() or service() methods of servlets, because these methods may be called from different threads. You should use the StylesheetRoot.process() instead. Please read the apache docs on this issue. Hope you book is better researched.



Juerg