Hello Shankar, Monday, September 09, 2002, 12:18:59 PM, you wrote:
S> Hello, S> I have 2 projects, say Project A, Project B. S> For running the Project A I must use Xerces DOM Parser and S> for Project B I need Crimsion DOM Parser. S> I am using Websphere VisualAge4.0. S> I used the following code for instatiating DOM Parser in Project A: S> javax.xml.parsers.DocumentBuilderFactory dbf = S> DocumentBuilderFactory.newInstance(); S> When Project A alone is in the Websphere Environment classpath, it takes S> Xerces Parser and everything is O.K. S> But when I included both Projects in the Websphere Environment S> classpath, it alwaya takes Crimsion. So, I couldn't execute my Project A S> application. S> Anybody have any ideas how the "DocumentBuilderFactory.newInstance()" S> determines which parser to select when more than one parsers exists in S> the Websphere Environment..? put jar in your PROJECT\WEB-INF\lib \webapps\project_A\WEB-INF\lib\xerces.jar \webapps\project_B\WEB-INF\lib\crimson.jar -- Best regards, Yuriy mailto:[EMAIL PROTECTED] ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html