I reckon you can do it the standard way??
Include xerces 2 in your classpath for compiling purposes, copy the jar into your webapps lib directory (create directory lib directly under web-inf dir if not already there) or common\lib if you want xerces2 to be available for all webapps under this instance of tomcat. The jar has to be in one of these directories to prevent run-time errors when using xerces. (Tomcat classloader has to find them) Restart Tomcat if nessesary. There might be a problem building a war when xerces2.jar is in common\lib as it probably isn't including by the jar tool when you build it. So when you deploy the war to another webserver, if that webserver doesn't have xerces2, you could get a run-time Exception. Including it in mywebapp\web-inf\lib, increases the size of the jar but you are always sure xerces is found by the servers classloader. Hope this helps. If its to basic, than my appologies.. �yvind �yvind Vestavik �vre M�llenberggt 44b 7014 Trondheim [EMAIL PROTECTED] 41422911 On Wed, 24 Apr 2002 [EMAIL PROTECTED] wrote: > Hi, > I want to use xerces2 in order to parse xml. How can i do that? > I 've download and unzip files from xml-apache.org but I don't know how I > can use it. > Help!! > Thanks a lot. > Jc > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
