Class Loading in Web Tier 2003-07-25 - By Vikram Naik
Back 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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1"> <META content="MSHTML 6.00.2800.1106" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hello,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2> 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. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>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. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Please comment. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Regards,</FONT></DIV> <DIV><FONT face=Arial size=2>Vikram Naik</FONT></DIV></BODY></HTML>
|
|