Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > BOOK: Professional Apache Tomcat
|
BOOK: Professional Apache Tomcat
This is the forum to discuss the Wrox book Professional Apache Tomcat by Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler; ISBN: 9780764543722
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 28th, 2004, 03:46 PM
Registered User
 
Join Date: Sep 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat 5, XML and writing your own classloader

Tomcat 5 seems to allow a developer to use their own classloader. Specifically, the <loader> element can define a different classloader to be used by the application. It replaces the web application class loader.

I created my own version of the WebappClassLoader.java file (Tomcat 5 source) and removed the special references to org.apache.xerces and org.apache.xalan.

Changing the loaderClass attribute of the <loader> element should allow different application-specific xml parsers to be accessed.

I haven;'t been successful yet, because I haven't placed the <application>,xml file under the conf directory -- now I see!

Should work though.

Thanks,
Lawrence Winkler





Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating XML doc ; writing string(xml format) into KamalRaturi XML 5 May 28th, 2008 05:51 AM
ClassLoader saiyedriyaz Java GUI 0 February 2nd, 2005 07:54 AM
about XML receive ang XML parse by tomcat taianmhzy Apache Tomcat 0 May 20th, 2004 01:56 AM
ClassLoader zuodp Servlets 0 November 11th, 2003 03:38 AM
classloader help ambharish Java Espanol 2 July 23rd, 2003 03:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.