Hi there.
I am currently reading my way through the excellent 'Java and XML' book by Brett McLaughlin. This book takes you through SAX, DOM, and on to other XML related APIs. For the SAX chapter, I managed to download a xerces.jar file to use for the various SAX classes therein. I managed to get every example working using the following settings:
Again, for the DOM chapter, everything went OK. However, in the Advanced DOM chapter, an example requiring HttpServlet classes was described. I downloaded J2EE from Sun, and tried the following to get these to compile:
But unfortunately, it did not seem to find the HttpServlet classes from j2ee.jar? My questions:
(1) Do I need to use 'ant' - whatever that is?
(2) Is there something wrong with my PATH or CLASSPATH?
Thanks for any advice, cheers Neil
I am currently reading my way through the excellent 'Java and XML' book by Brett McLaughlin. This book takes you through SAX, DOM, and on to other XML related APIs. For the SAX chapter, I managed to download a xerces.jar file to use for the various SAX classes therein. I managed to get every example working using the following settings:
Code:
set PATH="d:\jdk1.3.0_02\bin;%PATH%"
set CLASSPATH=".;d:\xml\jar\xerces.jar;%CLASSPATH%"
Code:
set PATH="d:\jdk1.3.0_02\bin;%PATH%"
set CLASSPATH=".;d:\xml\jar\xerces.jar;d:\j2sdkee1.3\lib\j2ee.jar;%CLASSPATH%"
(1) Do I need to use 'ant' - whatever that is?
(2) Is there something wrong with my PATH or CLASSPATH?
Thanks for any advice, cheers Neil