Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

Re: Class Loading in Web Tier

Rathinavelu, Senthilkumar

2003-07-25


Include the Xereces API jar in the WAR itself.
-----Original Message-----
From: Vikram Naik [mailto:deadly_naik@HOTMAIL.COM]
Sent: Friday, July 25, 2003 12:35 PM
To: J2EE-INTEREST@JAVA.SUN.COM
Subject: Class Loading in Web Tier

Hello,
 
 How do we make it sure that a class loaded in a web-application is picked up from the war, and not from the web servers lib. Do we have any configurable property in web-servers or appservers to do so.
 
The problem I am facing is... We are using Xerces API to do some xml parsing, but the parser is not able to find the class which it has to load from the war, say the DocumentClass which extends the DocumentImpl class of xerces. Have anyone faced such a problem with xerces.
 
Please comment.
 
Regards,
Vikram Naik
©2008 junlu.com - Jax Systems, LLC, U.S.A.